Skip to content

fix(ci): fix bad use of poetry groups + update to Python 3.12 in publish CI #255

fix(ci): fix bad use of poetry groups + update to Python 3.12 in publish CI

fix(ci): fix bad use of poetry groups + update to Python 3.12 in publish CI #255

Workflow file for this run

---
name: pytest
on:
push:
branches: [main]
pull_request:
branches: [main]
permissions:
contents: read
jobs:
test:
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Set up python ${{ matrix.python-version }}
id: setup-python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Set up Poetry
uses: ./.github/actions/setup-poetry
with:
groups: main,test
python-version: ${{ matrix.python-version }}
- name: Print versions
run: |
python --version
poetry --version
- name: Test with pytest
working-directory: tests
run: poetry run pytest