Skip to content

GH actions

GH actions #3

Workflow file for this run

name: Tests
on:
push:
pull_request:
jobs:
test:
strategy:
fail-fast: false
matrix:
include:
- python-version: '3.6'
runs-on: ubuntu-20.04
pytest-spec: 'pytest<8'
- python-version: '3.14'
runs-on: ubuntu-latest
pytest-spec: 'pytest<9'
runs-on: ${{ matrix.runs-on }}
steps:
- name: Checkout
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: |
python -m pip install --upgrade pip
python -m pip install -e . "${{ matrix.pytest-spec }}"
- name: Run tests
run: pytest -q