Skip to content

Support for pytest 8.1 #52

Support for pytest 8.1

Support for pytest 8.1 #52

Workflow file for this run

name: Test
on: push
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v3
- name: Install Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install poetry
uses: snok/install-poetry@v1
with:
version: 1.7.1
virtualenvs-create: true
virtualenvs-in-project: true
- name: Install packages
run: poetry install
- name: Run tests with pytest
run: poetry run pytest
- name: Downgrade to pytest 7
run: poetry run pip install pytest==7.4.4
- name: Run tests with pytest 7
run: poetry run pytest