added coveralls to project #1
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Coveralls GitHub Action | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
test_number: | |
- 1 | |
- 2 | |
steps: | |
- uses: actions/checkout@3 | |
- name: Use Node.js 16.x | |
uses: actions/setup-node@3 | |
with: | |
node-version: 16.x | |
- name: npm install | |
run: npm install | |
- name: Test ${{ matrix.test_number }} | |
run: make test-coverage-${{ matrix.test_number }} | |
- name: Coveralls Parallel | |
uses: coverallsapp/github-action@v2 | |
with: | |
flag-name: run-${{ join(matrix.*, '-') }} | |
parallel: true | |
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" |