Browse Source

ci: add parallel coveralls

master
Kiko Beats 3 years ago
parent
commit
01c6446e59
No known key found for this signature in database GPG Key ID: 8FA93B22CCF04B96
  1. 21
      .github/workflows/test.yml

21
.github/workflows/test.yml

@ -63,9 +63,18 @@ jobs:
pg_isready
- run: npm install --no-package-lock
- run: npm test
# - name: Report
# run: mkdir -p coverage && npx nyc report --reporter=text-lcov > coverage/lcov.info
# - name: Coverage
# uses: coverallsapp/github-action@master
# with:
# github-token: ${{ secrets.GITHUB_TOKEN }}
- name: Coveralls Parallel
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
flag-name: run-${{ matrix.node-version }}
parallel: true
finish:
needs: build
runs-on: ubuntu-latest
steps:
- name: Coveralls Finished
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
parallel-finished: true

Loading…
Cancel
Save