Skip to content

Commit 31c3cdb

Browse files
committed
Make names in the GHA lib workflow short
1 parent 7c5877b commit 31c3cdb

File tree

1 file changed

+14
-4
lines changed

1 file changed

+14
-4
lines changed

.github/workflows/test-library.yml

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
name: Proxy.py Library
2+
name: lib
33

44
on: [push, pull_request] # yamllint disable-line rule:truthy
55

@@ -15,7 +15,8 @@ concurrency:
1515
jobs:
1616
integration:
1717
runs-on: ${{ matrix.os }}-latest
18-
name: Library - Python ${{ matrix.python }} on ${{ matrix.os }}
18+
name: >-
19+
e2e: 🐍${{ matrix.python }} @ ${{ matrix.os }}
1920
strategy:
2021
matrix:
2122
os: [macOS, Ubuntu]
@@ -41,14 +42,23 @@ jobs:
4142
./tests/integration/main.sh
4243
4344
lint:
44-
name: ${{ matrix.toxenv }}
45+
name: >-
46+
${{
47+
toJSON(matrix.custom_job_name)
48+
&& matrix.custom_job_name
49+
|| matrix.toxenv
50+
}}
4551
4652
runs-on: Ubuntu-latest
4753
strategy:
4854
matrix:
4955
toxenv:
50-
- cleanup-dists,build-dists,metadata-validation
5156
- lint
57+
custom_job_name:
58+
- ''
59+
include:
60+
- custom_job_name: build-dists
61+
toxenv: cleanup-dists,build-dists,metadata-validation
5262
fail-fast: false
5363

5464
env:

0 commit comments

Comments
 (0)