Skip to content

chore: bump https://github.com/astral-sh/ruff-pre-commit from v0.16.0 to 0.16.2 #746

chore: bump https://github.com/astral-sh/ruff-pre-commit from v0.16.0 to 0.16.2

chore: bump https://github.com/astral-sh/ruff-pre-commit from v0.16.0 to 0.16.2 #746

Workflow file for this run

name: codecoverage
on:
pull_request:
branches: [main]
push:
branches: [main]
env:
UV_SYSTEM_PYTHON: 1
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
jobs:
coverage:
runs-on: ${{ matrix.os }}
timeout-minutes: 30
strategy:
matrix:
os: [ubuntu-latest]
steps:
- uses: actions/checkout@v6
- name: Setup Python
uses: actions/setup-python@v6
with:
python-version: "3.13"
- name: Install uv
uses: astral-sh/setup-uv@v7
with:
enable-cache: true
python-version: "3.13"
- name: Install pyscal and test dependencies
run: |
uv pip install ".[tests]"
uv pip install opm res2df # (extra packages for more tests)
- name: Generate coverage report
run: |
pytest --hypothesis-profile ci tests --disable-warnings --cov=pyscal --cov-report=xml --junitxml=junit.xml -o junit_family=legacy
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v7
with:
token: ${{ secrets.CODECOV_TOKEN }}
- name: Upload test report to Codecov
if: ${{ !cancelled() }}
uses: codecov/test-results-action@v1
with:
token: ${{ secrets.CODECOV_TOKEN }}