Run pytest and code coverage actions on Fedora #1189
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
| name: "Check python code coverage" | |
| on: [push, pull_request] | |
| jobs: | |
| coverage: | |
| name: coverage | |
| runs-on: ubuntu-latest | |
| container: | |
| image: "registry.fedoraproject.org/fedora:42" | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: ./.github/actions/prepare-python | |
| with: | |
| use-system-python: true | |
| - name: Run pytest with coverage | |
| shell: bash -e {0} | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| run: | | |
| make ci-coverage | |
| - name: Coveralls | |
| uses: coverallsapp/github-action@v2.2.3 | |
| with: | |
| format: python | |
| file: .coverage |