Skip to content

Commit

Permalink
Fix CI issue with coverall
Browse files Browse the repository at this point in the history
  • Loading branch information
ndaidong committed Jan 22, 2024
1 parent 901d1cf commit 9050184
Showing 1 changed file with 16 additions and 2 deletions.
18 changes: 16 additions & 2 deletions .github/workflows/ci-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,13 @@ jobs:
npm run build --if-present
npm run test
- name: Report Coveralls
- name: Test ${{ matrix.test_number }}
run: make test-coverage-${{ matrix.test_number }}
- name: Coveralls Parallel
uses: coverallsapp/github-action@v2
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
flag-name: run-${{ join(matrix.*, '-') }}
parallel: true

- name: cache node modules
uses: actions/cache@v3
Expand All @@ -43,3 +46,14 @@ jobs:
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
finish:
needs: test
if: ${{ always() }}
runs-on: ubuntu-latest
steps:
- name: Coveralls Finished
uses: coverallsapp/github-action@v2
with:
parallel-finished: true
carryforward: "run-1,run-2"

0 comments on commit 9050184

Please sign in to comment.