Skip to content

Commit 616adb8

Browse files
committed
add job name
Signed-off-by: sirutBuasai <sirutbuasai27@outlook.com>
1 parent e555139 commit 616adb8

File tree

1 file changed

+11
-5
lines changed

1 file changed

+11
-5
lines changed

.github/workflows/pr-sglang.yml

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ env:
2020

2121
jobs:
2222
check-changes:
23+
name: check-changes
2324
runs-on: ubuntu-latest
2425
outputs:
2526
build-change: ${{ steps.changes.outputs.build-change }}
@@ -53,13 +54,14 @@ jobs:
5354
- "test/sglang/**"
5455
5556
build-sglang-image:
57+
name: build-sglang-image
5658
needs: [check-changes]
5759
if: needs.check-changes.outputs.build-change == 'true'
5860
runs-on:
5961
- codebuild-runner-${{ github.run_id }}-${{ github.run_attempt }}
6062
fleet:x86-build-runner
6163
concurrency:
62-
group: pr-sglang-${{ github.job }}-${{ github.event.pull_request.number }}
64+
group: ${{ github.workflow }}-${{ github.job }}-${{ github.event.pull_request.number }}
6365
cancel-in-progress: true
6466
outputs:
6567
ci-image: ${{ steps.image-uri-build.outputs.CI_IMAGE_URI }}
@@ -100,14 +102,15 @@ jobs:
100102
docker rmi ${CI_IMAGE_URI}
101103
102104
set-test-environment:
105+
name: set-test-environment
103106
needs: [check-changes, build-sglang-image]
104107
if: |
105108
always() && !failure() && !cancelled() &&
106109
(needs.build-sglang-image.result == 'success' ||
107110
(needs.check-changes.outputs.build-change == 'false') && (needs.check-changes.outputs.test-change == 'true'))
108111
runs-on: ubuntu-latest
109112
concurrency:
110-
group: pr-sglang-${{ github.job }}-${{ github.event.pull_request.number }}
113+
group: ${{ github.workflow }}-${{ github.job }}-${{ github.event.pull_request.number }}
111114
cancel-in-progress: true
112115
outputs:
113116
aws-account-id: ${{ steps.set-env.outputs.AWS_ACCOUNT_ID }}
@@ -134,6 +137,7 @@ jobs:
134137
echo SGLANG_VERSION=${SGLANG_VERSION} >> ${GITHUB_OUTPUT}
135138
136139
sglang-local-benchmark-test:
140+
name: sglang-local-benchmark-test
137141
needs: [set-test-environment]
138142
if: |
139143
always() && !failure() && !cancelled() &&
@@ -142,7 +146,7 @@ jobs:
142146
- codebuild-runner-${{ github.run_id }}-${{ github.run_attempt }}
143147
fleet:x86-g6xl-runner
144148
concurrency:
145-
group: pr-sglang-${{ github.job }}-${{ github.event.pull_request.number }}
149+
group: ${{ github.workflow }}-${{ github.job }}-${{ github.event.pull_request.number }}
146150
cancel-in-progress: true
147151
steps:
148152
- name: Checkout DLC source
@@ -199,6 +203,7 @@ jobs:
199203
container_id: ${{ env.CONTAINER_ID }}
200204

201205
sglang-lang-test:
206+
name: sglang-lang-test
202207
needs: [set-test-environment]
203208
if: |
204209
always() && !failure() && !cancelled() &&
@@ -207,7 +212,7 @@ jobs:
207212
- codebuild-runner-${{ github.run_id }}-${{ github.run_attempt }}
208213
fleet:x86-g6exl-runner
209214
concurrency:
210-
group: pr-sglang-${{ github.job }}-${{ github.event.pull_request.number }}
215+
group: ${{ github.workflow }}-${{ github.job }}-${{ github.event.pull_request.number }}
211216
cancel-in-progress: true
212217
steps:
213218
- name: Checkout DLC source
@@ -262,6 +267,7 @@ jobs:
262267
container_id: ${{ env.CONTAINER_ID }}
263268

264269
sglang-sagemaker-endpoint-test:
270+
name: sglang-sagemaker-endpoint-test
265271
needs: [set-test-environment]
266272
if: |
267273
always() && !failure() && !cancelled() &&
@@ -270,7 +276,7 @@ jobs:
270276
- codebuild-runner-${{ github.run_id }}-${{ github.run_attempt }}
271277
fleet:default-runner
272278
concurrency:
273-
group: pr-sglang-${{ github.job }}-${{ github.event.pull_request.number }}
279+
group: ${{ github.workflow }}-${{ github.job }}-${{ github.event.pull_request.number }}
274280
cancel-in-progress: false
275281
steps:
276282
- name: Checkout DLC source

0 commit comments

Comments
 (0)