Skip to content

Commit 3da8a52

Browse files
committed
Skip performance tests on Windows 11 ARM64 CI
This is to investigate whether fixtures for other tests are failing due to interaction with them, and it is hoped to be a temporary measure. Temporary or not, this change affects only Windows ARM jobs. Other ARM platforms, and non-ARM Windows, are unchanged. This might remain in place over a longer term: - If the problem is that the current Windows 11 ARM runner is not fast enough to allow the tests to pass. Though adjusting expected timings conditionally for Windows ARM64 might be a workaround. - If including the performance tests, passing are not, makes the runs take too long to do routinely. It looks like this may be the case. It's probably better to test regularly on Windows ARM without the performance tests, than to rarely test Windows ARM.
1 parent a4f8b05 commit 3da8a52

File tree

1 file changed

+13
-3
lines changed

1 file changed

+13
-3
lines changed

.github/workflows/ci.yml

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,10 @@ jobs:
212212
- macos-latest
213213
- ubuntu-latest
214214
- ubuntu-24.04-arm
215+
include:
216+
- nextest-extra-args: ''
217+
- os: windows-11-arm
218+
nextest-extra-args: '-- --skip fuzzed_timeout --skip performance'
215219

216220
runs-on: ${{ matrix.os }}
217221

@@ -241,14 +245,20 @@ jobs:
241245
- name: Test (nextest)
242246
env:
243247
GIX_TEST_CREATE_ARCHIVES_EVEN_ON_CI: '1'
244-
run: cargo nextest run --workspace --no-fail-fast
248+
run: cargo nextest run --workspace --no-fail-fast ${{ matrix.nextest-extra-args }}
245249
- name: Check that tracked archives are up to date
246250
run: git diff --exit-code # If this fails, the fix is usually to commit a regenerated archive.
247251

248252
test-fixtures-windows:
249253
strategy:
250254
matrix:
251-
os: [ windows-latest, windows-11-arm ]
255+
os:
256+
- windows-latest
257+
- windows-11-arm
258+
include:
259+
- nextest-extra-args: ''
260+
- os: windows-11-arm
261+
nextest-extra-args: '-- --skip fuzzed-timeout --skip performance'
252262

253263
runs-on: ${{ matrix.os }}
254264

@@ -276,7 +286,7 @@ jobs:
276286
id: nextest
277287
env:
278288
GIX_TEST_IGNORE_ARCHIVES: '1'
279-
run: cargo nextest --profile=with-xml run --workspace --no-fail-fast
289+
run: cargo nextest --profile=with-xml run --workspace --no-fail-fast ${{ matrix.nextest-extra-args }}
280290
continue-on-error: true
281291
- name: Check for errors
282292
run: |

0 commit comments

Comments
 (0)