Skip to content

Add github test action #1

Add github test action

Add github test action #1

Workflow file for this run

name: Test
on: [push]
jobs:
tests:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.9"]
steps:
- uses: actions/checkout@v4
- name: Install Poetry
run: |
pipx install poetry
poetry --version
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
cache: 'poetry'
- name: Install dependencies
run: |
poetry install --with dev
- name: Test with pytest
run: |
poetry run coverage run --parallel -m pytest -n auto tests