Skip to content

Commit 57c4f45

Browse files
committed
fix(ci): keep stock runner labels in the test matrix
GitHub derives the check-run name from the matrix values, so switching the matrix to uipath- labels renamed every required test context and left branch protection waiting on names that can no longer be reported. Keep the stock labels and map them to the uipath- pool in runs-on instead.
1 parent 8010b14 commit 57c4f45

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

.github/workflows/test.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,15 @@ on:
66
jobs:
77
test:
88
name: Test
9-
runs-on: ${{ matrix.os }}
9+
runs-on: ${{ matrix.os == 'windows-latest' && 'uipath-windows-latest' || 'uipath-ubuntu-latest' }}
1010
strategy:
1111
matrix:
1212
python-version: ["3.11", "3.12", "3.13"]
13-
os: [uipath-ubuntu-latest, uipath-windows-latest]
13+
# Stock labels on purpose: GitHub builds the check-run name from these
14+
# matrix values, and branch protection requires the stock names
15+
# ("Test (3.11, ubuntu-latest)"). runs-on below maps them onto the
16+
# uipath- pool, so the jobs run on uipath runners either way.
17+
os: [ubuntu-latest, windows-latest]
1418

1519
permissions:
1620
contents: read

0 commit comments

Comments
 (0)