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 13, 2024
1 parent 6c6465a commit 0ac9dff
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,18 @@ 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 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
./pyenv/bin/mypy tool/microkit

0 comments on commit 0ac9dff

Please sign in to comment.