Move coverage to dedicated workflow #1
Workflow file for this run
This file contains hidden or 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
| on: | |
| push: | |
| branches: | |
| - feature/* | |
| - bugfix/* | |
| - develop | |
| - release/* | |
| - hotfix/* | |
| - main | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Init | |
| run: npm ci | |
| - name: Run Coverage | |
| run: (npm run coverage 2>&1) | tee /tmp/coverage.out | cat /tmp/coverage.out | |
| - name: Check coverage | |
| run: cat /tmp/coverage.out | grep "Global test coverage" |