Skip to content

#41 switching to poetry for project management #103

#41 switching to poetry for project management

#41 switching to poetry for project management #103

Workflow file for this run

# This workflow installs Python dependencies, runs unit tests and tracks code coverage statistics
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
name: Unit Tests
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
# Run in all these versions of Python
python-version: [3.9]
steps:
- uses: actions/checkout@v4
- name: Install poetry
run: pipx install poetry
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: 'poetry'
- name: Install dependencies with poetry
run: poetry install
- name: Run pytest
run: poetry run pytest -vvv