Skip to content

Update to python 3.12 #359

Update to python 3.12

Update to python 3.12 #359

Workflow file for this run

name: Run Tests
on:
pull_request:
push:
branches: [main]
jobs:
pytest:
name: pytest
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@master
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
architecture: x64
- name: Install and configure Poetry
run: |
pip install poetry==1.7.0
poetry config virtualenvs.in-project true
- name: Set up cache
uses: actions/cache@v3
with:
path: .venv
key: venv-${{ runner.os }}-poetry-${{ hashFiles('**/poetry.lock') }}
- name: Install dependencies
run: poetry install
- name: Run pytest
run: poetry run pytest