Skip to content

Merge pull request #12 from GiorgioMedico/fix/numpy1-compat-and-relax… #64

Merge pull request #12 from GiorgioMedico/fix/numpy1-compat-and-relax…

Merge pull request #12 from GiorgioMedico/fix/numpy1-compat-and-relax… #64

Workflow file for this run

name: ci-test
on:
push:
branches: [ main, master ]
pull_request:
branches: [ main, master ]
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
python-version: ['3.11', '3.12', '3.13']
env:
UV_PYTHON: ${{ matrix.python-version }}
steps:
- uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v6
with:
enable-cache: true
cache-dependency-glob: uv.lock
- name: Sync dependencies
run: uv sync --locked --no-default-groups --group test
- name: Testing with coverage
run: uv run pytest tests --cov=interpolatepy --cov-report=xml --cov-report=term-missing
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: ./coverage.xml
flags: unittests
name: codecov-umbrella
fail_ci_if_error: false