Skip to content

Commit 23dfe10

Browse files
authored
Merge branch 'master' into fix-moving-links-2711
2 parents 8b60f29 + 4ac989a commit 23dfe10

35 files changed

Lines changed: 1700 additions & 2606 deletions

.github/workflows/taiko.yml

Lines changed: 36 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
runs-on: ${{ matrix.os }}
1515
strategy:
1616
matrix:
17-
node_version: ['20', '22', '24']
17+
node_version: ['20', '22', '24', '25']
1818
os: [ubuntu-22.04, windows-latest]
1919
fail-fast: false
2020
steps:
@@ -45,15 +45,24 @@ jobs:
4545
uses: biomejs/setup-biome@v2
4646
- run: biome check packages/taiko
4747
- name: Run unit tests
48+
if: matrix.os != 'windows-latest'
4849
run: npm run test:unit:silent
4950

51+
- name: Run unit tests (windows, with retry)
52+
if: matrix.os == 'windows-latest'
53+
uses: nick-fields/retry@v3
54+
with:
55+
timeout_minutes: 10
56+
max_attempts: 2
57+
command: npm run test:unit:silent
58+
5059
functional-tests:
5160
needs: unit-tests
5261
name: FTs - NodeJS ${{ matrix.node_version }} & ${{ matrix.os }}
5362
runs-on: ${{ matrix.os }}
5463
strategy:
5564
matrix:
56-
node_version: ['20', '22', '24']
65+
node_version: ['20', '22', '24', '25']
5766
os: [ubuntu-22.04, windows-latest]
5867
fail-fast: false
5968
steps:
@@ -82,8 +91,17 @@ jobs:
8291
libgbm-dev \
8392
libasound-dev
8493
- name: functional-tests
94+
if: matrix.os != 'windows-latest'
8595
run: npm run test-functional
8696

97+
- name: functional-tests (windows, with retry)
98+
if: matrix.os == 'windows-latest'
99+
uses: nick-fields/retry@v3
100+
with:
101+
timeout_minutes: 15
102+
max_attempts: 2
103+
command: npm run test-functional
104+
87105
- name: Upload html report
88106
uses: actions/upload-artifact@v6
89107
if: failure()
@@ -100,14 +118,18 @@ jobs:
100118

101119
functional-tests-headful:
102120
needs: unit-tests
103-
name: FT in linux-headful
121+
name: FT in linux-headful - ${{ matrix.node_version }}
104122
runs-on: ubuntu-22.04
123+
strategy:
124+
matrix:
125+
node_version: ['20', '22', '24', '25']
126+
fail-fast: false
105127
steps:
106128
- uses: actions/checkout@v6
107129
- name: Use Node.js
108130
uses: actions/setup-node@v6
109131
with:
110-
node-version: 24
132+
node-version: ${{ matrix.node_version }}
111133
check-latest: 'true'
112134
- name: install
113135
run: npm ci
@@ -137,25 +159,29 @@ jobs:
137159
uses: actions/upload-artifact@v6
138160
if: failure()
139161
with:
140-
name: ft-reports-linux-headful
162+
name: ft-reports-linux-headful-${{ matrix.node_version }}
141163
path: tests/functional-tests/reports/html-report
142164
- name: Upload logs
143165
uses: actions/upload-artifact@v6
144166
if: failure()
145167
with:
146-
name: ft-logs-linux-headful
168+
name: ft-logs-linux-headful-${{ matrix.node_version }}
147169
path: tests/functional-tests/logs
148170

149171
docs-tests:
150172
needs: unit-tests
151-
name: Docs tests
173+
name: Docs tests - ${{ matrix.node_version }}
152174
runs-on: ubuntu-22.04
175+
strategy:
176+
matrix:
177+
node_version: ['20', '22', '24', '25']
178+
fail-fast: false
153179
steps:
154180
- uses: actions/checkout@v6
155181
- name: Use Node.js
156182
uses: actions/setup-node@v6
157183
with:
158-
node-version: 24
184+
node-version: ${{ matrix.node_version }}
159185
check-latest: 'true'
160186
- name: install
161187
run: npm ci
@@ -180,11 +206,11 @@ jobs:
180206
uses: actions/upload-artifact@v6
181207
if: failure()
182208
with:
183-
name: docs-tests-reports
209+
name: docs-tests-reports-${{ matrix.node_version }}
184210
path: tests/docs-tests/gauge/reports/html-report
185211
- name: Upload logs
186212
uses: actions/upload-artifact@v6
187213
if: failure()
188214
with:
189-
name: docs-tests-logs
215+
name: docs-tests-logs-${{ matrix.node_version }}
190216
path: tests/docs-tests/gauge/logs

0 commit comments

Comments
 (0)