ignore html #2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test Suite | |
on: | |
push: | |
branches: ["main"] | |
pull_request: | |
branches: ["main"] | |
jobs: | |
tests: | |
name: "Python ${{ matrix.python-version }}" | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python: ["3.10", "3.11", "3.12"] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python }} | |
- name: Install poetry and dependencies | |
run: | | |
pip install poetry | |
poetry add setuptools@latest | |
poetry install | |
- name: Lint with Ruff | |
run: | | |
poetry run ruff . | |
- name: Type Check with Mypy | |
run: | | |
poetry run mypy . | |
- name: Test with pytest | |
run: | | |
poetry run pytest |