Skip to content

🎨 update actions/checkout and actions/setup-python to v4 in CI wo… #128

🎨 update actions/checkout and actions/setup-python to v4 in CI wo…

🎨 update actions/checkout and actions/setup-python to v4 in CI wo… #128

Workflow file for this run

# Based on https://github.com/actions/starter-workflows/blob/main/ci/python-package.yml
name: tests
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ['3.10', '3.11', '3.12']
steps:
- uses: actions/checkout@v4
- name: Install poetry
run: pipx install poetry
- name: Install dependencies for Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
cache: 'poetry'
- run: poetry install
- name: Tests
run: |
poetry run pytest