Skip to content

Commit

Permalink
Run mypy in GHA
Browse files Browse the repository at this point in the history
  • Loading branch information
neob91-close committed Dec 13, 2024
1 parent e14a308 commit df7c0a4
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/build-and-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,20 @@ jobs:
- name: Ruff
run: ruff check --no-cache --output-format github .

- name: Install production requirements (for Mypy)
run: |
# Mypy needs production packages for typechecking
sudo apt-get update
sudo apt-get install -y \
python3-dev \
libsnappy-dev \
libxml2-dev \
libxslt1-dev
pip install --no-deps -r requirements/requirements-prod.txt
- name: Mypy
run: mypy

check-compiled-requirements:
runs-on: ubuntu-24.04
if: ${{ !contains(github.event.head_commit.message, '#notests') }}
Expand Down

0 comments on commit df7c0a4

Please sign in to comment.