Update pr_tests.yml

This commit is contained in:
Skillz4Killz
2022-06-05 21:16:52 -04:00
committed by GitHub
parent 226a1e0c80
commit cdc9ba5b14
+1 -1
View File
@@ -18,7 +18,7 @@ jobs:
run: deno cache mod.ts
- name: Run tests if requested by maintainers
if: ${{ github.event.issue.pull_request && github.event.comment.body == 'run-tests' && (github.actor == 'Skillz4Killz' || github.actor == 'itohatweb') }}
run: DISCORD_TOKEN=${{ env.DISCORD_TOKEN }} deno test --unstable --coverage=coverage -A tests/mod.ts
run: DISCORD_TOKEN=${{ env.DISCORD_TOKEN }} deno test --coverage=coverage -A tests/ --jobs
env:
DISCORD_TOKEN: ${{ secrets.DISCORD_TOKEN }}
- name: Create coverage report