Skip to content

Update github workflow #91

Update github workflow

Update github workflow #91

Workflow file for this run

name: Tests
on:
push:
paths-ignore:
- "*.md"
- "LICENSE**"
- ".gitignore"
pull_request:
paths-ignore:
- "*.md"
- "LICENSE**"
- ".gitignore"
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
steps:
- uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install tox
run: pip install tox-uv
- name: Run tox
# Run tox using the version of Python in `PATH`.
run: tox run -e py-coverage
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
with:
# fail_ci_if_error: true
files: ./coverage.xml
verbose: true