Skip to content

Bump actions/setup-python from 4 to 5 (#69) #32

Bump actions/setup-python from 4 to 5 (#69)

Bump actions/setup-python from 4 to 5 (#69) #32

Workflow file for this run

---
name: Test
on:
push:
branches: [master]
pull_request:
branches: ['*']
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macOS-latest, windows-latest]
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']
fail-fast: false
steps:
- name: Clone repo
uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: pip install tox
- name: Run tests
run: tox run -e tests
- name: Upload coverage to CodeCov
uses: codecov/codecov-action@v4
with:
flags: ${{ matrix.os }}_${{ matrix.python-version }}
if: success()