diff --git a/.github/workflows/ci-test.yml b/.github/workflows/ci-test.yml index 470fbe52..dc621504 100644 --- a/.github/workflows/ci-test.yml +++ b/.github/workflows/ci-test.yml @@ -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 @@ -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"