mirror of
https://github.com/renovatebot/renovate.git
synced 2025-01-10 05:56:26 +00:00
Merge c3daf3bb8e
into 0152d27a3d
This commit is contained in:
commit
2c47a396f9
1 changed files with 7 additions and 2 deletions
|
@ -247,7 +247,11 @@ const config: JestConfig = {
|
||||||
|
|
||||||
export default config;
|
export default config;
|
||||||
|
|
||||||
type RunsOn = 'ubuntu-latest' | 'windows-latest' | 'macos-latest';
|
type RunsOn =
|
||||||
|
| 'ubuntu-latest'
|
||||||
|
| 'windows-latest'
|
||||||
|
| 'macos-latest'
|
||||||
|
| `windows-2025`;
|
||||||
|
|
||||||
interface ShardGroup {
|
interface ShardGroup {
|
||||||
/**
|
/**
|
||||||
|
@ -386,6 +390,7 @@ if (process.env.SCHEDULE_TEST_SHARDS) {
|
||||||
|
|
||||||
if (process.env.ALL_PLATFORMS === 'true') {
|
if (process.env.ALL_PLATFORMS === 'true') {
|
||||||
// shardGrouping['windows-latest'] = scheduleItems(shardKeys, 8);
|
// shardGrouping['windows-latest'] = scheduleItems(shardKeys, 8);
|
||||||
|
shardGrouping['windows-2025'] = scheduleItems(shardKeys, 8);
|
||||||
shardGrouping['macos-latest'] = scheduleItems(shardKeys, 4);
|
shardGrouping['macos-latest'] = scheduleItems(shardKeys, 4);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -396,7 +401,7 @@ if (process.env.SCHEDULE_TEST_SHARDS) {
|
||||||
const total = groups.length;
|
const total = groups.length;
|
||||||
for (let idx = 0; idx < groups.length; idx += 1) {
|
for (let idx = 0; idx < groups.length; idx += 1) {
|
||||||
const number = idx + 1;
|
const number = idx + 1;
|
||||||
const platform = os.replace(/-latest$/, '');
|
const platform = os.replace(/-[a-z0-9]+$/, '');
|
||||||
const name =
|
const name =
|
||||||
platform === 'ubuntu'
|
platform === 'ubuntu'
|
||||||
? `test (${number}/${total})`
|
? `test (${number}/${total})`
|
||||||
|
|
Loading…
Reference in a new issue