Skip to content

Release v2.0.0

Release v2.0.0 #7

Workflow file for this run

name: Unit Tests
on:
workflow_dispatch:
pull_request:
branches: [ "main" ]
types: [ "opened", "edited", "synchronize" ]
permissions:
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
tests:
runs-on: ubuntu-latest
strategy:
matrix:
python: [3.8, 3.9, "3.10", 3.11]
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python }}
- name: Set up Poetry
uses: abatilo/actions-poetry@v2
with:
poetry-version: 1.5.1
- name: Install dependencies
run: |
poetry install --with=tests
- name: Run pytest
run: |
poetry run pytest -v