Skip to content

Merge pull request #3 from jeromedockes/setup-ci-continued #11

Merge pull request #3 from jeromedockes/setup-ci-continued

Merge pull request #3 from jeromedockes/setup-ci-continued #11

Workflow file for this run

name: 'test'
on:
push:
branches:
- "main"
pull_request:
branches:
- '*'
jobs:
test:
strategy:
fail-fast: false
matrix:
os: [windows-latest, ubuntu-latest, macos-latest]
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install UV
run: curl -LsSf https://github.com/astral-sh/uv/releases/latest/download/uv-installer.sh | sh
- name: Install hatch
run: uv pip install --system hatch
- name: Install swig
run: uv pip install --system swig
- name: Run tests
run: hatch test
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v4.5.0
with:
token: ${{ secrets.CODECOV_TOKEN }}
slug: dholzmueller/pytabkit