Skip to content

Commit 964d238

Browse files
committed
update job names
1 parent fdfe112 commit 964d238

File tree

2 files changed

+13
-5
lines changed

2 files changed

+13
-5
lines changed

.github/workflows/.nox-session.yml

+5
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,14 @@ on:
1717
required: false
1818
type: string
1919
default: '["3.x"]'
20+
job-name:
21+
required: false
22+
type: string
23+
default: python-{0} {1}
2024

2125
jobs:
2226
nox-session:
27+
name: ${{ format(inputs.job-name, matrix.python-version, matrix.runs-on) }}
2328
strategy:
2429
matrix:
2530
runs-on: ${{fromJson(inputs.runs-on-array)}}

.github/workflows/test.yml

+8-5
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Test
1+
name: test
22

33
on:
44
push:
@@ -11,23 +11,26 @@ on:
1111
- cron: "0 0 * * *"
1212

1313
jobs:
14-
test-python-coverage:
14+
python-coverage:
1515
uses: ./.github/workflows/.nox-session.yml
1616
with:
17+
job-name: "python-{0}"
1718
session-name: test_python_suite
1819
session-arguments: --maxfail=3
19-
test-python-environments:
20+
python-environments:
2021
uses: ./.github/workflows/.nox-session.yml
2122
with:
2223
session-name: test_python_suite
2324
session-arguments: --maxfail=3 --no-cov
2425
runs-on-array: '["ubuntu-latest", "macos-latest", "windows-latest"]'
2526
python-version-array: '["3.7", "3.8", "3.9", "3.10"]'
26-
test-docs:
27+
docs:
2728
uses: ./.github/workflows/.nox-session.yml
2829
with:
30+
job-name: "python-{0}"
2931
session-name: test_docs
30-
test-javascript:
32+
javascript:
3133
uses: ./.github/workflows/.nox-session.yml
3234
with:
35+
job-name: "{1}"
3336
session-name: test_javascript

0 commit comments

Comments
 (0)