Skip to content

Commit

Permalink
ci: 更新 store-test
Browse files Browse the repository at this point in the history
  • Loading branch information
he0119 committed Dec 4, 2024
1 parent 2a0cb20 commit e2da162
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/store-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,14 +46,13 @@ jobs:

- name: Test plugin
if: ${{ !contains(fromJSON('["Bot", "Adapter", "Plugin"]'), github.event.client_payload.type) }}
run: |
uv run --no-dev --extra plugin python -m src.providers.store_test plugin-test --offset ${{ github.event.inputs.offset || 0 }} --limit ${{ github.event.inputs.limit || 50 }} ${{ github.event.inputs.args }}
run: uv run --no-dev -m src.providers.store_test plugin-test --offset ${{ github.event.inputs.offset || 0 }} --limit ${{ github.event.inputs.limit || 50 }} ${{ github.event.inputs.args }}

- name: Update registry
if: ${{ contains(fromJSON('["Bot", "Adapter", "Plugin"]'), github.event.client_payload.type) }}
run: uv run --no-dev --extra plugin python -m src.providers.store_test registry-update
run: uv run --no-dev -m src.providers.store_test registry-update
env:
REGISTRY_UPDATE_PAYLOAD: ${{ github.event.client_payload }}
REGISTRY_UPDATE_PAYLOAD: ${{ toJson(github.event.client_payload) }}

- name: Upload results
uses: actions/upload-artifact@v4
Expand Down

0 comments on commit e2da162

Please sign in to comment.