You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# It may seem that there is only 1 job defined, but we are using "for" loops based on .yamato/project.metafile configuration. Yamato "compiles" this code in order to generate jobs with multiple given configurations
10
+
# Jobs are generated using nested loops through:
11
+
12
+
# It's important to ensure that all generated in such way dependencies exist (this can be verified in Yamato)
13
+
# In theory, we could manually write jobs for every configuration. However, this approach would be more error-prone, especially when modifications or fixes are needed, as it would require keeping track of all configurations.
14
+
# The downside of our current approach is that it can sometimes impact readability due to the use of nested if and for statements.
# This test validaes Standards, Package tests, Project tests and Desktop standalone tests to ensure that main platforms are covered
13
14
# Triggers on PRs to develop, develop-2.0.0, and release branches
14
15
# Focuses on critical validation paths that we should validate before merging PRs
15
16
# Cancels previous runs on new commits
16
17
# Excludes draft PRs
17
18
18
19
# Nightly:
20
+
# This test validaes same subset as pull_request_trigger with addition of mobile/console tests and webgl builds
19
21
# Runs daily on develop-2.0.0 (local configuration)
20
22
# Includes all test types but only on trunk. TODO: Add validation for minimum supported editor in nightly
21
23
# Adds platform-specific and APV validation
22
24
23
25
# Weekly:
24
-
# Most comprehensive validation
26
+
# This test validaes same subset as develop_nightly but runs per all supported editors as well as executes code coverage test and runs project standards per project
# It may seem that there is only 1 job defined, but we are using for loops based on .yamato/project.metafile configuration. Yamato "compiles" this code in order to generate jobs with multiple given configurations
13
+
# It may seem that there is only 1 job defined, but we are using "for" loops based on .yamato/project.metafile configuration. Yamato "compiles" this code in order to generate jobs with multiple given configurations
14
14
# Jobs are generated using nested loops through:
15
15
# 1. For default platform only (Ubuntu) since coverage would not vary between platforms (no need for checks on more platforms)
16
16
# 2. For default editor version (trunk) since coverage would not vary between editors (no need for checks on more editors)
@@ -20,13 +20,14 @@
20
20
21
21
# The jobs name being generated would be for example "Code Coverage - NGO [testproject, 6000.0]" (name visible in Yamato) or "code_coverage_testproject_6000.0" (job name when querying for it)
# In theory this job also runs package tests, but we don't want to use it as default since is heavier (because of added coverage analysis) and coverage is not changing that often
24
25
# Requires Unity Editor installation
25
-
# Uses UnifiedTestRunner (UTR) for test execution
26
-
# Depends on successful package pack job completion
27
26
# Burst compilation is disabled to ensure accurate coverage measurement
27
+
# In order to properly use -coverage-results-path parameter we need to start it with $PWD (which means the absolute path). Otherwise coverage results will not be visible
# It may seem that there is only 1 job defined, but we are using for loops based on .yamato/project.metafile configuration. Yamato "compiles" this code in order to generate jobs with multiple given configurations
9
+
# It may seem that there is only 1 job defined, but we are using "for" loops based on .yamato/project.metafile configuration. Yamato "compiles" this code in order to generate jobs with multiple given configurations
12
10
# Jobs are generated using nested loops (separate build phase and run phase). Worth noting that run phase uses the build as dependency:
13
-
# 1. For all console platform (Switch, ps4, ps5, xbox360, xboxOne) defined in test_platforms.console_ (in project.metafile)
14
-
# 2. For all supported Unity Editor versions (for NGOv2.X this means 6000.0+ editors defined in project.metafile)
15
-
# 3. For default project which serves as context
11
+
# 1. For all console platform (Switch, ps4, ps5, xbox360, xboxOne)
12
+
# 2. For all supported Unity Editor versions (for NGOv2.X this means 6000.0+ editors)
13
+
`# 3. For the default project.
16
14
17
15
# In theory, we could manually write jobs for every configuration. However, this approach would be more error-prone, especially when modifications or fixes are needed, as it would require keeping track of all configurations.
18
16
# The downside of our current approach is that it can sometimes impact readability due to the use of nested if and for statements.
19
17
20
18
# The jobs name being generated would be for example "Build testproject - [win, 6000.0, il2cpp]" (name visible in Yamato) or "console_standalone_build_testproject_win_6000.0" (job name when querying for it)
# It may seem that there is only 1 job defined, but we are using for loops based on .yamato/project.metafile configuration. Yamato "compiles" this code in order to generate jobs with multiple given configurations
9
+
# It may seem that there is only 1 job defined, but we are using "for" loops based on .yamato/project.metafile configuration. Yamato "compiles" this code in order to generate jobs with multiple given configurations
12
10
# Jobs are generated using nested loops (separate build phase and run phase). Worth noting that run phase uses the build as dependency:
13
-
# 1. For all desktop platform (Windows, macOS, Ubuntu) defined in test_platforms.desktop_ (in project.metafile)
14
-
# 2. For all supported Unity Editor versions (for NGOv2.X this means 6000.0+ editors defined in project.metafile)
15
-
# 3. For default project which serves as context
16
-
# 4. For all scripting backends
11
+
# 1. For all desktop platform (Windows, macOS, Ubuntu)
12
+
# 2. For all supported Unity Editor versions (for NGOv2.X this means 6000.0+ editors)
13
+
# 3. For the default project.
14
+
# 4. For all scripting backends (mono, il2cpp)
17
15
18
16
# In theory, we could manually write jobs for every configuration. However, this approach would be more error-prone, especially when modifications or fixes are needed, as it would require keeping track of all configurations.
19
17
# The downside of our current approach is that it can sometimes impact readability due to the use of nested if and for statements.
20
18
21
19
# The jobs name being generated would be for example "Standalone Build - NGO testproject - [win, mono, 6000.0]" (name visible in Yamato) or "desktop_standalone_build_testproject_win_mono_6000.0" (job name when querying for it)
# It may seem that there is only 1 job defined, but we are using for loops based on .yamato/project.metafile configuration. Yamato "compiles" this code in order to generate jobs with multiple given configurations
12
-
# Jobs are generated using nested loops (separate build phase and run phase). Worth noting that run phase uses the build as dependency:
13
-
# 1. For all mobile platform (Android, iOS) defined in test_platforms.mobile_ (in project.metafile)
14
-
# 2. For all supported Unity Editor versions (for NGOv2.X this means 6000.0+ editors defined in project.metafile)
15
-
# 3. For default project which serves as context
9
+
# It may seem that there is only 1 job defined, but we are using "for" loops based on .yamato/project.metafile configuration. Yamato "compiles" this code in order to generate jobs with multiple given configurations
10
+
# Jobs are generated using nested loops through:
11
+
# 1. For all mobile platform (Android, iOS)
12
+
# 2. For all supported Unity Editor versions (for NGOv2.X this means 6000.0+ editors)
13
+
# 3. For the default project.
16
14
17
15
# In theory, we could manually write jobs for every configuration. However, this approach would be more error-prone, especially when modifications or fixes are needed, as it would require keeping track of all configurations.
18
16
# The downside of our current approach is that it can sometimes impact readability due to the use of nested if and for statements.
19
17
20
18
# The jobs name being generated would be for example "Build testproject - [win, 6000.0, il2cpp]" (name visible in Yamato) or "build_testproject_win_6000.0" (job name when querying for it)
0 commit comments