Skip to content

Test, check and verify! #169

Test, check and verify!

Test, check and verify! #169

Workflow file for this run

name: Toadr3
run-name: "Test, check and verify!"
on: [ push, pull_request ]
jobs:
Continuous-Testing:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [ "3.11", "3.12", "3.13", "3.14" ]
steps:
- name: 😎 Checkout
uses: actions/checkout@main
- name: 🐍 Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: 🦀 Install dependencies
run: |
pip install poetry
poetry install
- name: 🐌 Check linting with ruff
run: poetry run ruff check --output-format=github
- name: πŸ™ Check formatting
run: poetry run ruff format --check
- name: πŸ¦‹ Check type hints with mypy
run: |
poetry run mypy --config-file=pyproject.toml --warn-unused-configs --check-untyped-defs --strict toadr3/
poetry run mypy --config-file=pyproject.toml --warn-unused-configs --check-untyped-defs --strict tests/
- name: 🐸 Run tests with pytest
run: poetry run pytest tests/