summaryrefslogtreecommitdiffstats
path: root/.github/workflows/coverage.yml
blob: 3ed1f995992fac164d7469100fb4d8b0d9c435c3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
---
name: coverage

on:
  push:
    branches: [master]

jobs:
  code-coverage:
    if: github.repository == 'linux-nvme/libnvme'
    name: code coverage
    runs-on: ubuntu-latest
    container:
      image: ghcr.io/igaw/linux-nvme/debian.python:latest
    steps:
      - uses: actions/checkout@v4
      - name: build
        run: |
          scripts/build.sh coverage
      - uses: codecov/codecov-action@v3
        with:
          fail_ci_if_error: false