feat: added coverage annotations filters #359
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: Coverage | |
# Skip job run if PR updated | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
on: | |
pull_request_target: | |
paths-ignore: | |
- 'docs/**' | |
workflow_dispatch: | |
jobs: | |
coverage: | |
runs-on: ubuntu-latest | |
name: Coverage report | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Test coverage | |
uses: ./ # Uses an action in the root directory | |
with: | |
annotations: failed-tests | |
test-script: npm run test:coverage |