-
Notifications
You must be signed in to change notification settings - Fork 459
Expand file tree
/
Copy pathNGOSettings.cs
More file actions
44 lines (37 loc) · 1.45 KB
/
NGOSettings.cs
File metadata and controls
44 lines (37 loc) · 1.45 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
using RecipeEngine.Api.Settings;
using RecipeEngine.Modules.Wrench.Models;
using RecipeEngine.Modules.Wrench.Settings;
namespace NGO.Cookbook.Settings;
public class NGOSettings : AnnotatedSettingsBase
{
// Path from the root of the repository where packages are located.
readonly string[] packagesRootPaths = {"."};
static ValidationOptions validationOptions = new ValidationOptions()
{
ProjectPath = "testproject",
UtrTestingYamatoTimeout = 180 // 3h This it to address the issue that we are running both package and project test and that their execution is much slower on editors below 6000
};
// update this to list all packages in this repo that you want to release.
Dictionary<string, PackageOptions> PackageOptions = new()
{
{
"com.unity.netcode.gameobjects",
new PackageOptions()
{
ReleaseOptions = new ReleaseOptions() { IsReleasing = true },
ValidationOptions = validationOptions
}
}
};
public NGOSettings()
{
Wrench = new WrenchSettings(
packagesRootPaths,
PackageOptions,
false,
false,
@"Tools\CI\NGO.Cookbook.csproj"); // There should be fix soon and there should be no need of specifying the path
Wrench.PvpProfilesToCheck = new HashSet<string>() { "supported" };
}
public WrenchSettings Wrench { get; private set; }
}