Skip to content

Commit 70ecc34

Browse files
srittauAlexWaygood
andauthored
[CI] Shorten job names (python#13635)
When looking at GitHub's action runs, the individual jobs are listed in the left sidebar, but since the job names are fairly long, they get cut off, leading to a lot of guessing when finding the correct job. Shorter job names should fix this. Co-authored-by: Alex Waygood <[email protected]>
1 parent d573034 commit 70ecc34

File tree

6 files changed

+14
-14
lines changed

6 files changed

+14
-14
lines changed

Diff for: .github/workflows/daily.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ env:
2929

3030
jobs:
3131
stubtest-stdlib:
32-
name: Check stdlib with stubtest
32+
name: "stubtest: stdlib"
3333
if: ${{ github.repository == 'python/typeshed' || github.event_name == 'workflow_dispatch' }}
3434
runs-on: ${{ matrix.os }}
3535
strategy:
@@ -54,7 +54,7 @@ jobs:
5454
run: python tests/stubtest_stdlib.py
5555

5656
stubtest-third-party:
57-
name: Check third party stubs with stubtest
57+
name: "stubtest: third party"
5858
if: ${{ github.repository == 'python/typeshed' || github.event_name == 'workflow_dispatch' }}
5959
runs-on: ${{ matrix.os }}
6060
strategy:
@@ -99,7 +99,7 @@ jobs:
9999
$PYTHON_EXECUTABLE tests/stubtest_third_party.py --specified-platforms-only --num-shards 4 --shard-index ${{ matrix.shard-index }}
100100
101101
stub-uploader:
102-
name: Run the stub_uploader tests
102+
name: stub_uploader tests
103103
if: ${{ github.repository == 'python/typeshed' || github.event_name == 'workflow_dispatch' }}
104104
runs-on: ubuntu-latest
105105
steps:
@@ -124,7 +124,7 @@ jobs:
124124
125125
# https://github.community/t/run-github-actions-job-only-if-previous-job-has-failed/174786/2
126126
create-issue-on-failure:
127-
name: Create an issue if daily tests failed
127+
name: Create issue on failure
128128
runs-on: ubuntu-latest
129129
needs: [stubtest-stdlib, stubtest-third-party, stub-uploader]
130130
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') }}

Diff for: .github/workflows/meta_tests.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ concurrency:
2828

2929
jobs:
3030
mypy:
31-
name: Run mypy against the scripts and tests directories
31+
name: Check scripts and tests with mypy
3232
runs-on: ubuntu-latest
3333
strategy:
3434
matrix:
@@ -43,7 +43,7 @@ jobs:
4343
- run: uv pip install -r requirements-tests.txt --system
4444
- run: python ./tests/typecheck_typeshed.py --platform=${{ matrix.platform }}
4545
pyright:
46-
name: Run pyright against the scripts and tests directories
46+
name: Check scripts and tests with pyright
4747
runs-on: ubuntu-latest
4848
strategy:
4949
matrix:

Diff for: .github/workflows/stubsabot.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939

4040
# https://github.community/t/run-github-actions-job-only-if-previous-job-has-failed/174786/2
4141
create-issue-on-failure:
42-
name: Create an issue if stubsabot failed
42+
name: Create issue on failure
4343
runs-on: ubuntu-latest
4444
needs: [stubsabot]
4545
if: ${{ github.repository == 'python/typeshed' && always() && (needs.stubsabot.result == 'failure') }}

Diff for: .github/workflows/stubtest_stdlib.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ concurrency:
2626

2727
jobs:
2828
stubtest-stdlib:
29-
name: Check stdlib with stubtest
29+
name: "stubtest: stdlib"
3030
runs-on: ${{ matrix.os }}
3131
strategy:
3232
matrix:

Diff for: .github/workflows/stubtest_third_party.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ concurrency:
2727

2828
jobs:
2929
stubtest-third-party:
30-
name: Check third party stubs with stubtest
30+
name: "stubtest: third party"
3131

3232
runs-on: ${{ matrix.os }}
3333
strategy:

Diff for: .github/workflows/tests.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
- run: python ./tests/check_typeshed_structure.py
3636

3737
pytype:
38-
name: Run pytype against the stubs
38+
name: "pytype: Check stubs"
3939
runs-on: ubuntu-latest
4040
steps:
4141
- uses: actions/checkout@v4
@@ -56,7 +56,7 @@ jobs:
5656
- run: ./tests/pytype_test.py --print-stderr
5757

5858
mypy:
59-
name: Run mypy against the stubs
59+
name: "mypy: Check stubs"
6060
runs-on: ubuntu-latest
6161
strategy:
6262
matrix:
@@ -73,7 +73,7 @@ jobs:
7373
- run: python ./tests/mypy_test.py --platform=${{ matrix.platform }} --python-version=${{ matrix.python-version }}
7474

7575
regression-tests:
76-
name: Run mypy on the test cases
76+
name: "mypy: Run test cases"
7777
runs-on: ubuntu-latest
7878
steps:
7979
- uses: actions/checkout@v4
@@ -87,7 +87,7 @@ jobs:
8787
- run: python ./tests/regr_test.py --all --verbosity QUIET
8888

8989
pyright:
90-
name: Test typeshed with pyright
90+
name: "pyright: Run test cases"
9191
runs-on: ubuntu-latest
9292
strategy:
9393
matrix:
@@ -141,7 +141,7 @@ jobs:
141141
project: ./pyrightconfig.testcases.json
142142

143143
stub-uploader:
144-
name: Run the stub_uploader tests
144+
name: stub_uploader tests
145145
runs-on: ubuntu-latest
146146
steps:
147147
- name: Checkout typeshed

0 commit comments

Comments
 (0)