Fix runcirrus.py and asyncio tests #63
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: Python application | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
permissions: | |
contents: read | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python 3.11 | |
uses: actions/setup-python@v3 | |
with: | |
python-version: "3.11" | |
- name: Install dependencies | |
run: | | |
pip install poetry | |
poetry install | |
- name: Lint with ruff | |
run: poetry run ruff check | |
- name: Check formatting with ruff | |
run: poetry run ruff format --check | |
- name: Typecheck with mypy | |
run: poetry run mypy --strict src | |
- name: Test with pytest | |
run: poetry run pytest tests |