diff options
author | Michael Kriese <[email protected]> | 2024-12-22 13:51:05 +0100 |
---|---|---|
committer | Michael Kriese <[email protected]> | 2024-12-22 13:57:09 +0100 |
commit | c3daf3bb8e88b3ef3643b660afacb6092fbd9d59 (patch) | |
tree | 930a5765da0c54b8b79d83deb6332c93c1d23abf | |
parent | 54e718e671e4e6e358ac982710716b89ad345759 (diff) | |
download | renovate-ci/test-windows-2025.tar.gz renovate-ci/test-windows-2025.zip |
ci: test on windows 2025ci/test-windows-2025
-rw-r--r-- | jest.config.ts | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/jest.config.ts b/jest.config.ts index b709c35129c..3440aecc9c5 100644 --- a/jest.config.ts +++ b/jest.config.ts @@ -247,7 +247,11 @@ const config: JestConfig = { export default config; -type RunsOn = 'ubuntu-latest' | 'windows-latest' | 'macos-latest'; +type RunsOn = + | 'ubuntu-latest' + | 'windows-latest' + | 'macos-latest' + | `windows-2025`; interface ShardGroup { /** @@ -386,6 +390,7 @@ if (process.env.SCHEDULE_TEST_SHARDS) { if (process.env.ALL_PLATFORMS === 'true') { // shardGrouping['windows-latest'] = scheduleItems(shardKeys, 8); + shardGrouping['windows-2025'] = scheduleItems(shardKeys, 8); shardGrouping['macos-latest'] = scheduleItems(shardKeys, 4); } @@ -396,7 +401,7 @@ if (process.env.SCHEDULE_TEST_SHARDS) { const total = groups.length; for (let idx = 0; idx < groups.length; idx += 1) { const number = idx + 1; - const platform = os.replace(/-latest$/, ''); + const platform = os.replace(/-[a-z0-9]+$/, ''); const name = platform === 'ubuntu' ? `test (${number}/${total})` |