File tree Expand file tree Collapse file tree 1 file changed +18
-4
lines changed Expand file tree Collapse file tree 1 file changed +18
-4
lines changed Original file line number Diff line number Diff line change 1
1
# Notebook-related checks
2
2
3
- name : Run all tests
3
+ name : Presubmit checks
4
4
5
5
on :
6
6
# Relevant PRs
13
13
14
14
jobs :
15
15
test3_11 :
16
- name : py 3 .11
16
+ name : Test Py3 .11
17
17
runs-on : ubuntu-latest
18
18
steps :
19
19
- uses : actions/checkout@v3
26
26
pip install -q -e .[dev]
27
27
python -m unittest discover --pattern '*test*.py'
28
28
test3_10 :
29
- name : py 3 .10
29
+ name : Test Py3 .10
30
30
runs-on : ubuntu-latest
31
31
steps :
32
32
- uses : actions/checkout@v3
39
39
pip install -q -e .[dev]
40
40
python -m unittest discover --pattern '*test*.py'
41
41
test3_9 :
42
- name : py 3 .9
42
+ name : Test Py3 .9
43
43
runs-on : ubuntu-latest
44
44
steps :
45
45
- uses : actions/checkout@v3
51
51
python --version
52
52
pip install -q -e .[dev]
53
53
python -m unittest discover --pattern '*test*.py'
54
+ pytype3_10 :
55
+ name : pytype 3.10
56
+ runs-on : ubuntu-latest
57
+ steps :
58
+ - uses : actions/checkout@v3
59
+ - uses : actions/setup-python@v4
60
+ with :
61
+ python-version : ' 3.10'
62
+ - name : Run pytype
63
+ run : |
64
+ python --version
65
+ pip install -q -e .[dev]
66
+ pytype
54
67
format :
55
68
name : Check format with black
56
69
runs-on : ubuntu-latest
65
78
pip install -q -e .
66
79
pip install -q black
67
80
black . --check
81
+
You can’t perform that action at this time.
0 commit comments