-
Notifications
You must be signed in to change notification settings - Fork 0
45 lines (35 loc) · 770 Bytes
/
checks.yml
File metadata and controls
45 lines (35 loc) · 770 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
45
name: checks
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
mypy:
runs-on: ubuntu-latest
strategy:
matrix:
python: [3.6, 3.7, 3.8]
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Set up Python
uses: actions/setup-python@v1
- name: Install mypy
run: |
pip install --upgrade pip
pip install mypy
mypy --version
- name: Run mypy
run: mypy --python-version ${{ matrix.python }} -p ioctl
pre-commit:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup Python
uses: actions/setup-python@v2
- name: Run pre-commit
uses: pre-commit/action@v2.0.0