Prune Docker image #70
Workflow file for this run
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 | |
on: | |
- pull_request | |
permissions: | |
pull-requests: write | |
jobs: | |
coverage: | |
if: false | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: netkan | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Python | |
uses: actions/setup-python@v1 | |
with: | |
python-version: 3.11 | |
- name: Install test dependencies | |
run: pip install .[test] | |
- name: force our git config | |
run: cp .gitconfig ~/. | |
- name: Run Coverage | |
run: coverage run -m pytest | |
- name: Generate report | |
run: coverage xml | |
- name: Get Cover | |
uses: orgoro/coverage@v3 | |
with: | |
coverageFile: netkan/coverage.xml | |
token: ${{ secrets.GITHUB_TOKEN }} |