Skip to content

Commit b72ff21

Browse files
committed
Updated Wrench settings
1 parent 2cb5045 commit b72ff21

3 files changed

Lines changed: 37 additions & 20 deletions

File tree

‎.yamato/wrench/validation-jobs.yml‎

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ validate_-_netcode_gameobjects_-_6000_7_-_macos13arm:
2727
retries: 1
2828
- command: echo No internal packages to add.
2929
- command: upm-pvp test --unity .Editor --packages "upm-ci~/packages/*.tgz" --results upm-ci~/pvp
30-
timeout: 40
30+
timeout: 90
3131
retries: 0
3232
- command: python PythonScripts/ignore_clean_console_failures.py
3333
timeout: 5
@@ -39,10 +39,10 @@ validate_-_netcode_gameobjects_-_6000_7_-_macos13arm:
3939
timeout: 10
4040
retries: 0
4141
- command: 'UnifiedTestRunner --testproject=testproject --editor-location=.Editor --clean-library --reruncount=1 --clean-library-on-rerun --artifacts-path=artifacts/editor --suite=editor "--ff={ops.upmpvpevidence.enable=true}" '
42-
timeout: 40
42+
timeout: 90
4343
retries: 1
4444
- command: 'UnifiedTestRunner --testproject=testproject --editor-location=.Editor --clean-library --reruncount=1 --clean-library-on-rerun --artifacts-path=artifacts/playmode --suite=playmode "--ff={ops.upmpvpevidence.enable=true}" '
45-
timeout: 40
45+
timeout: 90
4646
retries: 1
4747
after:
4848
- command: bash .yamato/generated-scripts/infrastructure-instability-detection-mac.sh
@@ -104,7 +104,7 @@ validate_-_netcode_gameobjects_-_6000_7_-_ubuntu2204:
104104
retries: 1
105105
- command: echo No internal packages to add.
106106
- command: upm-pvp test --unity .Editor --packages "upm-ci~/packages/*.tgz" --results upm-ci~/pvp
107-
timeout: 40
107+
timeout: 90
108108
retries: 0
109109
- command: python PythonScripts/ignore_clean_console_failures.py
110110
timeout: 5
@@ -116,10 +116,10 @@ validate_-_netcode_gameobjects_-_6000_7_-_ubuntu2204:
116116
timeout: 10
117117
retries: 0
118118
- command: 'UnifiedTestRunner --testproject=testproject --editor-location=.Editor --clean-library --reruncount=1 --clean-library-on-rerun --artifacts-path=artifacts/editor --suite=editor "--ff={ops.upmpvpevidence.enable=true}" '
119-
timeout: 40
119+
timeout: 90
120120
retries: 1
121121
- command: 'UnifiedTestRunner --testproject=testproject --editor-location=.Editor --clean-library --reruncount=1 --clean-library-on-rerun --artifacts-path=artifacts/playmode --suite=playmode "--ff={ops.upmpvpevidence.enable=true}" '
122-
timeout: 40
122+
timeout: 90
123123
retries: 1
124124
after:
125125
- command: bash .yamato/generated-scripts/infrastructure-instability-detection-linux.sh
@@ -181,7 +181,7 @@ validate_-_netcode_gameobjects_-_6000_7_-_win10:
181181
retries: 1
182182
- command: echo No internal packages to add.
183183
- command: upm-pvp test --unity .Editor --packages "upm-ci~/packages/*.tgz" --results upm-ci~/pvp
184-
timeout: 40
184+
timeout: 90
185185
retries: 0
186186
- command: python PythonScripts/ignore_clean_console_failures.py
187187
timeout: 5
@@ -193,10 +193,10 @@ validate_-_netcode_gameobjects_-_6000_7_-_win10:
193193
timeout: 10
194194
retries: 0
195195
- command: 'UnifiedTestRunner.exe --testproject=testproject --editor-location=.Editor --clean-library --reruncount=1 --clean-library-on-rerun --artifacts-path=artifacts/editor --suite=editor "--ff={ops.upmpvpevidence.enable=true}" '
196-
timeout: 40
196+
timeout: 90
197197
retries: 1
198198
- command: 'UnifiedTestRunner.exe --testproject=testproject --editor-location=.Editor --clean-library --reruncount=1 --clean-library-on-rerun --artifacts-path=artifacts/playmode --suite=playmode "--ff={ops.upmpvpevidence.enable=true}" '
199-
timeout: 40
199+
timeout: 90
200200
retries: 1
201201
after:
202202
- command: .yamato\generated-scripts\infrastructure-instability-detection-win.cmd
@@ -259,7 +259,7 @@ validate_-_netcode_gameobjects_-_7000_0_-_macos13arm:
259259
retries: 1
260260
- command: echo No internal packages to add.
261261
- command: upm-pvp test --unity .Editor --packages "upm-ci~/packages/*.tgz" --results upm-ci~/pvp
262-
timeout: 40
262+
timeout: 90
263263
retries: 0
264264
- command: python PythonScripts/ignore_clean_console_failures.py
265265
timeout: 5
@@ -271,10 +271,10 @@ validate_-_netcode_gameobjects_-_7000_0_-_macos13arm:
271271
timeout: 10
272272
retries: 0
273273
- command: 'UnifiedTestRunner --testproject=testproject --editor-location=.Editor --clean-library --reruncount=1 --clean-library-on-rerun --artifacts-path=artifacts/editor --suite=editor "--ff={ops.upmpvpevidence.enable=true}" '
274-
timeout: 40
274+
timeout: 90
275275
retries: 1
276276
- command: 'UnifiedTestRunner --testproject=testproject --editor-location=.Editor --clean-library --reruncount=1 --clean-library-on-rerun --artifacts-path=artifacts/playmode --suite=playmode "--ff={ops.upmpvpevidence.enable=true}" '
277-
timeout: 40
277+
timeout: 90
278278
retries: 1
279279
after:
280280
- command: bash .yamato/generated-scripts/infrastructure-instability-detection-mac.sh
@@ -336,7 +336,7 @@ validate_-_netcode_gameobjects_-_7000_0_-_ubuntu2204:
336336
retries: 1
337337
- command: echo No internal packages to add.
338338
- command: upm-pvp test --unity .Editor --packages "upm-ci~/packages/*.tgz" --results upm-ci~/pvp
339-
timeout: 40
339+
timeout: 90
340340
retries: 0
341341
- command: python PythonScripts/ignore_clean_console_failures.py
342342
timeout: 5
@@ -348,10 +348,10 @@ validate_-_netcode_gameobjects_-_7000_0_-_ubuntu2204:
348348
timeout: 10
349349
retries: 0
350350
- command: 'UnifiedTestRunner --testproject=testproject --editor-location=.Editor --clean-library --reruncount=1 --clean-library-on-rerun --artifacts-path=artifacts/editor --suite=editor "--ff={ops.upmpvpevidence.enable=true}" '
351-
timeout: 40
351+
timeout: 90
352352
retries: 1
353353
- command: 'UnifiedTestRunner --testproject=testproject --editor-location=.Editor --clean-library --reruncount=1 --clean-library-on-rerun --artifacts-path=artifacts/playmode --suite=playmode "--ff={ops.upmpvpevidence.enable=true}" '
354-
timeout: 40
354+
timeout: 90
355355
retries: 1
356356
after:
357357
- command: bash .yamato/generated-scripts/infrastructure-instability-detection-linux.sh
@@ -413,7 +413,7 @@ validate_-_netcode_gameobjects_-_7000_0_-_win10:
413413
retries: 1
414414
- command: echo No internal packages to add.
415415
- command: upm-pvp test --unity .Editor --packages "upm-ci~/packages/*.tgz" --results upm-ci~/pvp
416-
timeout: 40
416+
timeout: 90
417417
retries: 0
418418
- command: python PythonScripts/ignore_clean_console_failures.py
419419
timeout: 5
@@ -425,10 +425,10 @@ validate_-_netcode_gameobjects_-_7000_0_-_win10:
425425
timeout: 10
426426
retries: 0
427427
- command: 'UnifiedTestRunner.exe --testproject=testproject --editor-location=.Editor --clean-library --reruncount=1 --clean-library-on-rerun --artifacts-path=artifacts/editor --suite=editor "--ff={ops.upmpvpevidence.enable=true}" '
428-
timeout: 40
428+
timeout: 90
429429
retries: 1
430430
- command: 'UnifiedTestRunner.exe --testproject=testproject --editor-location=.Editor --clean-library --reruncount=1 --clean-library-on-rerun --artifacts-path=artifacts/playmode --suite=playmode "--ff={ops.upmpvpevidence.enable=true}" '
431-
timeout: 40
431+
timeout: 90
432432
retries: 1
433433
after:
434434
- command: .yamato\generated-scripts\infrastructure-instability-detection-win.cmd

‎.yamato/wrench/wrench_config.json‎

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,14 @@
2323
"coverageCommands": [
2424
"generateAdditionalMetrics;generateHtmlReport;assemblyFilters:ASSEMBLY_NAME;"
2525
],
26-
"dependantsToIgnoreInPreviewApv": {},
26+
"dependantsToIgnoreInPreviewApv": {
27+
"6000.7": [
28+
"com.unity.services.multiplayer"
29+
],
30+
"7000.0": [
31+
"com.unity.services.multiplayer"
32+
]
33+
},
2734
"postPackCommands": []
2835
}
2936
},

‎Tools/CI/Settings/NgoWrenchSettings.cs‎

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
using RecipeEngine.Api.Settings;
2+
using RecipeEngine.Modules.Wrench.Helpers;
23
using RecipeEngine.Modules.Wrench.Models;
34
using RecipeEngine.Modules.Wrench.Platforms;
45
using RecipeEngine.Modules.Wrench.Settings;
6+
using RecipeEngine.Unity.Abstractions.Editors;
57

68
namespace NGO.Cookbook.Settings;
79

@@ -13,7 +15,7 @@ public class NgoWrenchSettings : AnnotatedSettingsBase
1315
static ValidationOptions validationOptions = new ValidationOptions()
1416
{
1517
ProjectPath = "testproject",
16-
UtrTestingYamatoTimeout = 40
18+
UtrTestingYamatoTimeout = 90
1719
};
1820

1921
// update this to list all packages in this repo that you want to release.
@@ -34,6 +36,14 @@ public NgoWrenchSettings()
3436
Wrench = new WrenchSettings(packagesRootPaths, PackageOptions);
3537
Wrench.PvpProfilesToCheck = new HashSet<string>() { "supported" };
3638
Wrench.Packages["com.unity.netcode.gameobjects"].PackAndPromotePlatformType = EditorPlatformType.Ubuntu2204;
39+
40+
// com.unity.services.multiplayer tests reference NGO test helpers that aren't exposed in the APV project, so they fail to compile there.
41+
var apvDependantsToIgnore = new HashSet<string> { "com.unity.services.multiplayer" };
42+
Wrench.Packages["com.unity.netcode.gameobjects"].DependantsToIgnoreInPreviewApv = new Dictionary<Editor, ISet<string>>
43+
{
44+
[new EditorVersion("6000.7")] = apvDependantsToIgnore,
45+
[new EditorVersion("7000.0")] = apvDependantsToIgnore
46+
};
3747
}
3848

3949
public WrenchSettings Wrench { get; private set; }

0 commit comments

Comments
 (0)