Skip to content

Commit 6a028ee

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

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

.github/workflows/test-library.yml

+9-4
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,18 @@ jobs:
4142
./tests/integration/main.sh
4243
4344
lint:
44-
name: ${{ matrix.toxenv }}
45+
name: ${{ toJSON(custom_job_name) && custom_job_name || matrix.toxenv }}
4546

4647
runs-on: Ubuntu-latest
4748
strategy:
4849
matrix:
4950
toxenv:
50-
- cleanup-dists,build-dists,metadata-validation
5151
- lint
52+
custom_job_name:
53+
- ''
54+
include:
55+
- custom_job_name: build-dists
56+
toxenv: cleanup-dists,build-dists,metadata-validation
5257
fail-fast: false
5358

5459
env:

0 commit comments

Comments
 (0)