Skip to content
This repository was archived by the owner on Sep 23, 2025. It is now read-only.

Commit 6312f8d

Browse files
committed
Update pytype.yml
1 parent 468d084 commit 6312f8d

File tree

1 file changed

+16
-23
lines changed

1 file changed

+16
-23
lines changed

.github/workflows/pytype.yml

Lines changed: 16 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,6 @@
22
name: PYTYPE Lint
33

44
on: # yamllint disable-line rule:truthy
5-
push:
6-
branches-ignore:
7-
- main
8-
- master
9-
- kyu2
10-
- kyu3
11-
- kyu4
12-
- kyu5
13-
- kyu6
14-
- kyu7
15-
- kyu8
16-
- utils
17-
- Documentation
185
workflow_call:
196

207
permissions:
@@ -24,6 +11,9 @@ permissions:
2411
jobs:
2512
build:
2613
runs-on: 'ubuntu-24.04'
14+
# Adding 'timeout-minutes: 10' would prevent jobs from running
15+
# indefinitely if something goes wrong
16+
timeout-minutes: 10
2717
strategy:
2818
matrix:
2919
python-version: ["3.11"]
@@ -41,29 +31,32 @@ jobs:
4131
- name: Install dependencies
4232
run: |
4333
python -m pip install --upgrade pip setuptools wheel
44-
pip install -r requirements.txt
45-
pip install pytype
34+
python -m pip install -r requirements.txt
35+
python -m pip install pytype
36+
- name: Check pytype version
37+
run: |
38+
python -m pytype --version
4639
- name: kyu2 Python Data Type Checking with pytype
4740
run: |
48-
pytype kyu_2
41+
python -m pytype kyu_2
4942
- name: kyu_3 Python Data Type Checking with pytype
5043
run: |
51-
pytype kyu_3
44+
python -m pytype kyu_3
5245
- name: kyu_4 Python Data Type Checking with pytype
5346
run: |
54-
pytype kyu_4
47+
python -m pytype kyu_4
5548
- name: kyu_5 Python Data Type Checking with pytype
5649
run: |
57-
pytype kyu_5
50+
python -m pytype kyu_5
5851
- name: kyu_6 Python Data Type Checking with pytype
5952
run: |
60-
pytype kyu_6
53+
python -m pytype kyu_6
6154
- name: kyu_7 Python Data Type Checking with pytype
6255
run: |
63-
pytype kyu_7
56+
python -m pytype kyu_7
6457
- name: kyu_8 Python Data Type Checking with pytype
6558
run: |
66-
pytype kyu_8
59+
python -m pytype kyu_8
6760
- name: utils Python Data Type Checking with pytype
6861
run: |
69-
pytype utils
62+
python -m pytype utils

0 commit comments

Comments
 (0)