From e1afec3da9ddc40d7177f9912c832591c50e24db Mon Sep 17 00:00:00 2001 From: LTS20050703 Date: Sun, 4 Sep 2022 23:29:56 +0700 Subject: [PATCH] ci: github workflows tests: --jobs -> --parallel (#2428) --- .github/workflows/pr_tests.yml | 2 +- .github/workflows/test.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pr_tests.yml b/.github/workflows/pr_tests.yml index 131ff79eb..9835564a0 100644 --- a/.github/workflows/pr_tests.yml +++ b/.github/workflows/pr_tests.yml @@ -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 diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 973110ff1..1df302227 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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