Skip to content

Commit

Permalink
ci: add check for mypy
Browse files Browse the repository at this point in the history
Signed-off-by: Ivan Velickovic <[email protected]>
  • Loading branch information
Ivan-Velickovic committed Feb 14, 2024
1 parent b63fc28 commit 89d1e62
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,20 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: seL4/ci-actions/style@master

mypy:
name: 'mypy on tool'
runs-on: ubuntu-latest
steps:
- name: Checkout Microkit repository
uses: actions/checkout@v3
- name: Install mypy
run: |
sudo add-apt-repository ppa:deadsnakes/ppa
sudo apt update
sudo apt install python3.9 python3-pip python3.9-venv
python3.9 -m venv pyenv
./pyenv/bin/pip install --upgrade pip setuptools wheel
./pyenv/bin/pip install -r requirements.txt
- name: Run mypy
run: ./pyenv/bin/mypy tool/microkit

0 comments on commit 89d1e62

Please sign in to comment.