Skip to content

Update dependency mypy to v1.12.0 #471

Update dependency mypy to v1.12.0

Update dependency mypy to v1.12.0 #471

Workflow file for this run

name: lint and test the code
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/install-dependencies
- name: Lint with isort
run: |
poetry run isort -c .
- name: Lint with flake8
run: |
poetry run flake8 .
- name: Lint with black
run: |
poetry run black --check .
mypy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/install-dependencies
- name: Check with mypy
run: |
poetry run mypy .
tests:
runs-on: ubuntu-latest
needs: [lint, mypy]
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/install-dependencies
- name: Run tests
run: |
DISABLE_FIRESTORE=1 poetry run pytest tests