Add x_netkan_check_parent_downloads #68
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: Build Coverage | |
| on: | |
| pull_request: | |
| branches: | |
| - master | |
| jobs: | |
| coverage-build: | |
| runs-on: ubuntu-latest | |
| defaults: | |
| run: | |
| working-directory: netkan | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Setup Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.12" | |
| cache: pip | |
| - name: Install test dependencies | |
| run: pip install .[test] | |
| - name: force our git config | |
| run: cp .gitconfig ~/. | |
| - name: Run Coverage | |
| run: | | |
| coverage run -m pytest | |
| coverage xml | |
| - name: Upload Coverage | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: coverage.xml | |
| path: netkan/coverage.xml | |
| retention-days: 1 |