.github/workflows/coverage.yml
raw| 1 | --- |
| 2 | name: coverage |
| 3 | |
| 4 | on: |
| 5 | push: |
| 6 | branches: [master] |
| 7 | |
| 8 | jobs: |
| 9 | code-coverage: |
| 10 | if: github.repository == 'linux-nvme/libnvme' |
| 11 | name: code coverage |
| 12 | runs-on: ubuntu-latest |
| 13 | continue-on-error: true |
| 14 | container: |
| 15 | image: ghcr.io/linux-nvme/debian.python:latest |
| 16 | steps: |
| 17 | - uses: actions/checkout@v5 |
| 18 | - name: build |
| 19 | run: | |
| 20 | scripts/build.sh coverage |
| 21 | - uses: codecov/codecov-action@v5 |
| 22 | with: |
| 23 | token: ${{ secrets.CODECOV_TOKEN }} |
| 24 | fail_ci_if_error: true |