Skip to content

finish code

finish code #498

Workflow file for this run

---
name: PR Tests
on:
push:
branches-ignore:
- main
jobs:
pr-tests:
runs-on: ubuntu-latest
steps:
- name: Checkout source
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: 3.12
- name: Install poetry
run: |
curl -sSL https://install.python-poetry.org | python3 -
- name: Install Python dependencies
run: poetry install
- name: Formatting with ruff
run: poetry run ruff format --check .
- name: Linting with ruff
run: poetry run ruff check .
- name: Linting with mypy
run: poetry run mypy .
- name: unittests
run: poetry run pytest -s tests