Skip to content

build(deps): bump codecov/codecov-action from 4 to 7 #28

build(deps): bump codecov/codecov-action from 4 to 7

build(deps): bump codecov/codecov-action from 4 to 7 #28

Workflow file for this run

name: Test
on:
push:
branches: [ main, dev ]
pull_request:
branches: [ main, dev ]
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.12", "3.13"]
steps:
- uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: uv sync --dev
- name: Run tests
run: uv run pytest --cov=pagans --cov-report=xml --cov-report=term-missing
- name: Upload coverage to Codecov
if: matrix.python-version == '3.12'
uses: codecov/codecov-action@v7
with:
file: ./coverage.xml
flags: unittests
name: codecov-umbrella
fail_ci_if_error: false