File tree 6 files changed +14
-14
lines changed
6 files changed +14
-14
lines changed Original file line number Diff line number Diff line change 29
29
30
30
jobs :
31
31
stubtest-stdlib :
32
- name : Check stdlib with stubtest
32
+ name : " stubtest: stdlib"
33
33
if : ${{ github.repository == 'python/typeshed' || github.event_name == 'workflow_dispatch' }}
34
34
runs-on : ${{ matrix.os }}
35
35
strategy :
54
54
run : python tests/stubtest_stdlib.py
55
55
56
56
stubtest-third-party :
57
- name : Check third party stubs with stubtest
57
+ name : " stubtest: third party"
58
58
if : ${{ github.repository == 'python/typeshed' || github.event_name == 'workflow_dispatch' }}
59
59
runs-on : ${{ matrix.os }}
60
60
strategy :
99
99
$PYTHON_EXECUTABLE tests/stubtest_third_party.py --specified-platforms-only --num-shards 4 --shard-index ${{ matrix.shard-index }}
100
100
101
101
stub-uploader :
102
- name : Run the stub_uploader tests
102
+ name : stub_uploader tests
103
103
if : ${{ github.repository == 'python/typeshed' || github.event_name == 'workflow_dispatch' }}
104
104
runs-on : ubuntu-latest
105
105
steps :
@@ -124,7 +124,7 @@ jobs:
124
124
125
125
# https://github.community/t/run-github-actions-job-only-if-previous-job-has-failed/174786/2
126
126
create-issue-on-failure :
127
- name : Create an issue if daily tests failed
127
+ name : Create issue on failure
128
128
runs-on : ubuntu-latest
129
129
needs : [stubtest-stdlib, stubtest-third-party, stub-uploader]
130
130
if : ${{ github.repository == 'python/typeshed' && always() && github.event_name == 'schedule' && (needs.stubtest-stdlib.result == 'failure' || needs.stubtest-third-party.result == 'failure' || needs.stub-uploader.result == 'failure') }}
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ concurrency:
28
28
29
29
jobs :
30
30
mypy :
31
- name : Run mypy against the scripts and tests directories
31
+ name : Check scripts and tests with mypy
32
32
runs-on : ubuntu-latest
33
33
strategy :
34
34
matrix :
43
43
- run : uv pip install -r requirements-tests.txt --system
44
44
- run : python ./tests/typecheck_typeshed.py --platform=${{ matrix.platform }}
45
45
pyright :
46
- name : Run pyright against the scripts and tests directories
46
+ name : Check scripts and tests with pyright
47
47
runs-on : ubuntu-latest
48
48
strategy :
49
49
matrix :
Original file line number Diff line number Diff line change 39
39
40
40
# https://github.community/t/run-github-actions-job-only-if-previous-job-has-failed/174786/2
41
41
create-issue-on-failure :
42
- name : Create an issue if stubsabot failed
42
+ name : Create issue on failure
43
43
runs-on : ubuntu-latest
44
44
needs : [stubsabot]
45
45
if : ${{ github.repository == 'python/typeshed' && always() && (needs.stubsabot.result == 'failure') }}
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ concurrency:
26
26
27
27
jobs :
28
28
stubtest-stdlib :
29
- name : Check stdlib with stubtest
29
+ name : " stubtest: stdlib"
30
30
runs-on : ${{ matrix.os }}
31
31
strategy :
32
32
matrix :
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ concurrency:
27
27
28
28
jobs :
29
29
stubtest-third-party :
30
- name : Check third party stubs with stubtest
30
+ name : " stubtest: third party"
31
31
32
32
runs-on : ${{ matrix.os }}
33
33
strategy :
Original file line number Diff line number Diff line change 35
35
- run : python ./tests/check_typeshed_structure.py
36
36
37
37
pytype :
38
- name : Run pytype against the stubs
38
+ name : " pytype: Check stubs"
39
39
runs-on : ubuntu-latest
40
40
steps :
41
41
- uses : actions/checkout@v4
56
56
- run : ./tests/pytype_test.py --print-stderr
57
57
58
58
mypy :
59
- name : Run mypy against the stubs
59
+ name : " mypy: Check stubs"
60
60
runs-on : ubuntu-latest
61
61
strategy :
62
62
matrix :
73
73
- run : python ./tests/mypy_test.py --platform=${{ matrix.platform }} --python-version=${{ matrix.python-version }}
74
74
75
75
regression-tests :
76
- name : Run mypy on the test cases
76
+ name : " mypy: Run test cases"
77
77
runs-on : ubuntu-latest
78
78
steps :
79
79
- uses : actions/checkout@v4
87
87
- run : python ./tests/regr_test.py --all --verbosity QUIET
88
88
89
89
pyright :
90
- name : Test typeshed with pyright
90
+ name : " pyright: Run test cases "
91
91
runs-on : ubuntu-latest
92
92
strategy :
93
93
matrix :
@@ -141,7 +141,7 @@ jobs:
141
141
project : ./pyrightconfig.testcases.json
142
142
143
143
stub-uploader :
144
- name : Run the stub_uploader tests
144
+ name : stub_uploader tests
145
145
runs-on : ubuntu-latest
146
146
steps :
147
147
- name : Checkout typeshed
You can’t perform that action at this time.
0 commit comments