-
Notifications
You must be signed in to change notification settings - Fork 20
44 lines (37 loc) · 868 Bytes
/
check-mypy.yaml
File metadata and controls
44 lines (37 loc) · 868 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
name: mypy
on:
push:
branches:
- main
paths:
- "**.py"
pull_request:
branches:
- main
jobs:
mypy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
# https://github.com/actions/setup-python
with:
python-version: "3.14"
cache: "pip"
- name: Install packages
run: |
sudo apt-get update
sudo apt-get install -y \
build-essential \
python3-dev \
libldap2-dev \
libsasl2-dev \
krb5-multidev \
libkrb5-dev
- name: Install dependencies
run: |
pip install -U -r requirements.d/full.txt
pip install -U -r requirements.d/mypy.txt
- name: Run mypy
run: mypy