Skip to content

Commit 6284af2

Browse files
update beam postcomit python
1 parent 369163d commit 6284af2

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.github/workflows/beam_PostCommit_Python.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,12 +53,13 @@ env:
5353

5454
jobs:
5555
beam_PostCommit_Python:
56-
name: 'beam_PostCommit_Python'
56+
name: ${{ matrix.job_name }} (${{ matrix.job_phrase }} ${{ matrix.python_version }} ${{ matrix.os }})
5757
runs-on: ${{ matrix.os }}
5858
timeout-minutes: 240
5959
strategy:
6060
fail-fast: false
6161
matrix:
62+
job_name: [beam_PostCommit_Python]
6263
job_phrase: [Run Python PostCommit]
6364
python_version: ['3.9', '3.10', '3.11', '3.12']
6465
# Run on both self-hosted and GitHub-hosted runners.
@@ -79,7 +80,7 @@ jobs:
7980
with:
8081
comment_phrase: ${{ matrix.job_phrase }} ${{ matrix.python_version }}
8182
github_token: ${{ secrets.GITHUB_TOKEN }}
82-
github_job: ${{ matrix.job_name }} (${{ matrix.job_phrase }} ${{ matrix.python_version }})
83+
github_job: ${{ matrix.job_name }} (${{ matrix.job_phrase }} ${{ matrix.python_version }} ${{ matrix.os }})
8384
- name: Setup environment
8485
uses: ./.github/actions/setup-environment-action
8586
with:
@@ -116,7 +117,7 @@ jobs:
116117
uses: actions/upload-artifact@v4
117118
if: failure()
118119
with:
119-
name: Python ${{ matrix.python_version }} Test Results ${{ matrix.os }}
120+
name: Python ${{ matrix.python_version }} Test Results ${{ join(matrix.os, ', ') }}
120121
path: '**/pytest*.xml'
121122
- name: Publish Python Test Results
122123
uses: EnricoMi/publish-unit-test-result-action@v2
@@ -126,4 +127,4 @@ jobs:
126127
comment_mode: ${{ github.event_name == 'issue_comment' && 'always' || 'off' }}
127128
files: '**/pytest*.xml'
128129
large_files: true
129-
check_name: 'Python ${{ matrix.python_version }} Test Results ${{ matrix.os }}'
130+
check_name: 'Python ${{ matrix.python_version }} Test Results (${{ join(matrix.os, ", ") }})'

0 commit comments

Comments
 (0)