| on: |
| push: |
| branches: [main, master] |
| paths-ignore: |
| - '**.md' |
| pull_request: |
| branches: [main, master] |
| paths-ignore: |
| - '**.md' |
| |
| name: test-coverage |
| |
| jobs: |
| test-coverage: |
| runs-on: ubuntu-latest |
| |
| steps: |
| - uses: actions/checkout@main |
| - uses: codecov/codecov-action@v5 |
| with: |
| fail_ci_if_error: ${{ github.event_name != 'pull_request' && true || false }} |
| files: ./coverage1.xml,./coverage2.xml # optional |
| flags: unittests # optional |
| name: codecov-umbrella # optional |
| token: ${{ secrets.CODECOV_TOKEN }} |
| verbose: true # optional (default = false) |