Skip to content

feat/py312-compatibility #5

feat/py312-compatibility

feat/py312-compatibility #5

Workflow file for this run

name: Run tests
on:
push:
branches:
- master
paths:
- ".github/workflows/tests.yml"
- "**.py"
pull_request:
branches:
- master
paths:
- ".github/workflows/tests.yml"
- "**.py"
jobs:
test:
strategy:
matrix:
python: ["3.9", "3.10", "3.11", "3.12", "3.13-dev"]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python }}
- name: Setup Graphviz
uses: ts-graphviz/setup-graphviz@v1
- name: Install poetry
run: curl -sSL https://install.python-poetry.org | python3 -
- name: Run all tests
run: |
poetry install
poetry run python -m unittest -v tests/*.py