Skip to content

Add pytest 8.x compatibility #79

Add pytest 8.x compatibility

Add pytest 8.x compatibility #79

Workflow file for this run

name: Lint and test
on: [push, pull_request]
concurrency:
group: test-${{ github.ref }}
cancel-in-progress: true
jobs:
lint:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.8', '3.12']
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install tox
run: pip install tox
- name: Lint
run: tox -e lint
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install liblzo2-dev
run: sudo apt-get update && sudo apt-get -y install liblzo2-dev
- name: Install tox
run: pip install tox
- name: Test
run: tox -e test