Bump pytest-cov from 6.1.1 to 7.0.0 #72
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: code checks | |
| permissions: | |
| contents: read | |
| pull-requests: write | |
| on: | |
| push: | |
| branches: | |
| - main | |
| paths: | |
| - .pre-commit-config.yaml | |
| - .github/workflows/code_checks.yml | |
| - '**.py' | |
| - uv.lock | |
| - pyproject.toml | |
| - '**.ipynb' | |
| pull_request: | |
| branches: | |
| - main | |
| paths: | |
| - .pre-commit-config.yaml | |
| - .github/workflows/code_checks.yml | |
| - '**.py' | |
| - uv.lock | |
| - pyproject.toml | |
| - '**.ipynb' | |
| jobs: | |
| run-code-check: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/[email protected] | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@681c641aba71e4a1c380be3ab5e12ad51f415867 | |
| with: | |
| # Install a specific version of uv. | |
| version: "0.9.11" | |
| enable-cache: true | |
| - name: "Set up Python" | |
| uses: actions/setup-python@83679a892e2d95755f2dac6acb0bfd1e9ac5d548 | |
| with: | |
| python-version-file: ".python-version" | |
| - name: Install dependencies and check code | |
| run: | | |
| uv venv .venv | |
| source .venv/bin/activate | |
| uv sync --all-extras --dev | |
| pre-commit run --all-files | |
| - name: pip-audit (gh-action-pip-audit) | |
| uses: pypa/gh-action-pip-audit@1220774d901786e6f652ae159f7b6bc8fea6d266 | |
| with: | |
| virtual-environment: .venv/ | |
| # GHSA-xm59-rqc7-hhvf: nbconvert Windows-only vulnerability (no fix available as of 2025-12-22) | |
| # This is a Windows-specific code execution vulnerability via inkscape.bat path traversal | |
| # CI runs on Linux, and no patch exists yet (published 2025-12-18) | |
| # TODO: Remove this ignore once nbconvert releases a patched version | |
| ignore-vulns: | | |
| GHSA-xm59-rqc7-hhvf |