edit #364
Workflow file for this run
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: 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 | |