fix: speed up unit tests by 50%

This commit is contained in:
Skillz4Killz
2022-05-08 17:38:56 +00:00
committed by GitHub
parent 50eeea5a1d
commit 1726680fde
15 changed files with 324 additions and 296 deletions
+1 -1
View File
@@ -32,7 +32,7 @@ jobs:
run: deno cache template/beginner/mod.ts template/bigbot/src/bot/mod.ts template/bigbot/src/gateway/mod.ts template/bigbot/src/rest/mod.ts template/minimal/mod.ts
- name: Run test script for maintainers
if: ${{ github.actor == 'Skillz4Killz' || github.actor == 'itohatweb' }}
run: deno test --unstable --coverage=coverage -A testss/
run: deno test --coverage=coverage -A testss/ --jobs
- name: Create coverage report
if: github.ref == 'refs/heads/main'
run: deno coverage --exclude=tests ./coverage --lcov > coverage.lcov