diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index b09e812b6..c628cbcf1 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -21,7 +21,7 @@ jobs: run: deno test --unstable --coverage=./coverage -A --no-check 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 -A --no-check tests/mod.ts - name: Create coverage report run: deno --unstable coverage ./coverage --lcov > coverage.lcov - name: Collect and upload the coverage report