types are good now

This commit is contained in:
Skillz
2021-05-01 11:11:39 -04:00
parent 8a42bc71cb
commit 4b3bc471f2
+3 -3
View File
@@ -15,13 +15,13 @@ jobs:
with:
deno-version: ${{ matrix.deno }}
- name: Cache dependencies
run: deno cache --no-check mod.ts
run: deno cache mod.ts
- name: Run test script for maintainers
if: ${{ github.actor == 'Skillz4Killz' || github.actor == 'itohatweb' }}
run: deno test --unstable --coverage=coverage -A --no-check tests/mod.ts
run: deno test --unstable --coverage=coverage -A tests/mod.ts
- name: Run test script if label added
if: ${{ github.event_name == 'pull_request' && github.event.action == 'labeled' && github.event.label.name == 'run-tests' }}
run: DISCORD_TOKEN=${{ secrets.DISCORD_TOKEN }} deno test --unstable --coverage=coverage --allow-net --no-check tests/mod.ts
run: DISCORD_TOKEN=${{ secrets.DISCORD_TOKEN }} deno test --unstable --coverage=coverage --allow-net tests/mod.ts
- name: Create coverage report
run: deno --unstable coverage ./coverage --lcov > coverage.lcov
- name: Collect and upload the coverage report