mirror of
https://github.com/discordeno/discordeno.git
synced 2026-06-03 01:10:07 +00:00
ci: github workflows tests: --jobs -> --parallel (#2428)
This commit is contained in:
2
.github/workflows/pr_tests.yml
vendored
2
.github/workflows/pr_tests.yml
vendored
@@ -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
|
||||
|
||||
2
.github/workflows/test.yml
vendored
2
.github/workflows/test.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user