Skip to content

Fix/root directory

Fix/root directory #43

Workflow file for this run

# This workflow will install Python dependencies, run tests and lint with a variety of Python versions
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python
name: Package testing
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
poetry-version: [2.0.1]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Setup and Install Poetry
# You may pin to the exact commit or the version.
# uses: pronovic/setup-poetry@4dc2ce9a7c5efc1ed93255070bdfef280999bb6f
uses: pronovic/[email protected]
with:
# Version of Poetry to install (>= 1.8.0)
version: 2.0.1
- name: Install dependencies
run: |
poetry install
- name: Test with pytest
run: |
poetry run pytest