Skip to content

enable tests with different versions of python #38

enable tests with different versions of python

enable tests with different versions of python #38

Workflow file for this run

name: pytest
on:
push:
branches:
- '**'
pull_request:
types: [opened, synchronize, reopened]
jobs:
unittesting:
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11"]
poetry-version: ["1.7.1"]
os: ["ubuntu-22.04"]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
python-version: "3.10"
- name: Install poetry
uses: abatilo/actions-poetry@v2
with:
poetry-version: "1.7.1"
- name: Install the project dependencies
run: |
cd python
poetry install
- name: Run the automated tests
run: |
cd python
poetry run pytest tests -m "not slow"