ci: github workflows tests: --jobs -> --parallel (#2428)

This commit is contained in:
LTS20050703
2022-09-04 23:29:56 +07:00
committed by GitHub
parent 8800beb684
commit e1afec3da9
2 changed files with 2 additions and 2 deletions

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 --coverage=coverage -A tests/ --jobs
run: DISCORD_TOKEN=${{ env.DISCORD_TOKEN }} deno test --coverage=coverage -A tests/ --parallel
env:
DISCORD_TOKEN: ${{ secrets.DISCORD_TOKEN }}
- name: Create coverage report

View File

@@ -33,7 +33,7 @@ jobs:
run: deno cache template/beginner/mod.ts template/minimal/mod.ts
- name: Run test script for maintainers
if: ${{ github.actor == 'Skillz4Killz' || github.actor == 'itohatweb' }}
run: deno test --coverage=coverage -A tests/ --jobs
run: deno test --coverage=coverage -A tests/ --parallel
- name: Create coverage report
if: github.ref == 'refs/heads/main'
run: deno coverage --exclude=tests ./coverage --lcov > coverage.lcov