Repository navigation
Bump https://github.com/woodruffw/zizmor-pre-commit from v1.31.1 to 1.32.0 #75
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 coverage report | |
| # no permissions by default | |
| permissions: {} | |
| on: | |
| pull_request: | |
| push: | |
| jobs: | |
| run: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | |
| with: | |
| persist-credentials: false | |
| - name: Set up Python | |
| uses: actions/setup-python@6d4fd22b20465ccc0f7354476588e8df7c9ca0e0 # v7.1.0 | |
| with: | |
| python-version: "3.x" | |
| - name: Install gsw | |
| run: > | |
| python -m pip install --group dev | |
| && python -m pip install -e . | |
| - name: Run tests with coverage | |
| run: | | |
| python -m pytest -s -rxs -v --cov=gsw gsw/tests | |
| - name: Run linters | |
| run: > | |
| prek run --all-files |