Skip to content

add supported python versions #2

add supported python versions

add supported python versions #2

Workflow file for this run

name: Tests
on:
push:
branches:
- '*'
jobs:
test:
runs-on: ubuntu-latest
timeout-minutes: 5
permissions:
contents: read
strategy:
matrix:
python-version: ['3.8', '3.9', '3.10', '3.11']
steps:
- name: Checkout the repository
uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: 'pip'
- name: Install Pipx
run: |
python -m pip install --user pipx
python -m pipx ensurepath
- name: Install Poetry
run: pipx install poetry
- name: Poetry install
run: poetry install
- name: Run tests
run: poetry run pytest tests