Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
130 changes: 102 additions & 28 deletions .yamato/_run-all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,12 +48,20 @@ run_all_package_tests_pinnedTrunk:
- .yamato/package-tests.yml#package_test_-_ngo_{{ pinnedTrunk }}_{{ platform.name }}
{% endfor -%}

# Runs all package tests on mimimum supported editor (6000.0 in case of NGOv2.X)
run_all_package_tests_6000:
name: Run All Package Tests [6000.0]
# Runs all package tests on minimum supported editor
run_all_package_tests_minimum_editor:
name: Run All Package Tests [{{ validation_editors.minimal }}]
dependencies:
{% for platform in test_platforms.desktop -%}
- .yamato/package-tests.yml#package_test_-_ngo_6000.0_{{ platform.name }}
- .yamato/package-tests.yml#package_test_-_ngo_{{ validation_editors.minimal }}_{{ platform.name }}
{% endfor -%}

# Runs all package tests on default editor
run_all_package_tests_default:
name: Run All Package Tests [{{ validation_editors.default }}]
dependencies:
{% for platform in test_platforms.desktop -%}
- .yamato/package-tests.yml#package_test_-_ngo_{{ validation_editors.default }}_{{ platform.name }}
{% endfor -%}


Expand Down Expand Up @@ -96,14 +104,26 @@ run_all_project_tests_pinnedTrunk:
{% endif -%}
{% endfor -%}

# Runs all projects tests on mimimum supported editor (6000.0 in case of NGOv2.X)
run_all_project_tests_6000:
name: Run All Project Tests [6000.0]
# Runs all projects tests on minimum supported editor
run_all_project_tests_minimum_editor:
name: Run All Project Tests [{{ validation_editors.minimal }}]
dependencies:
{% for project in projects.all -%}
{% if project.has_tests == "true" -%}
{% for platform in test_platforms.desktop -%}
- .yamato/project-tests.yml#test_{{ project.name }}_{{ platform.name }}_{{ validation_editors.minimal }}
{% endfor -%}
{% endif -%}
{% endfor -%}

# Runs all projects tests on default editor
run_all_project_tests_default:
name: Run All Project Tests [{{ validation_editors.default }}]
dependencies:
{% for project in projects.all -%}
{% if project.has_tests == "true" -%}
{% for platform in test_platforms.desktop -%}
- .yamato/project-tests.yml#test_{{ project.name }}_{{ platform.name }}_6000.0
- .yamato/project-tests.yml#test_{{ project.name }}_{{ platform.name }}_{{ validation_editors.default }}
{% endfor -%}
{% endif -%}
{% endfor -%}
Expand Down Expand Up @@ -156,13 +176,23 @@ run_all_webgl_builds_pinnedTrunk:
{% endfor -%}
{% endfor -%}

# Runs all WebGL builds on 6000.0 editor
run_all_webgl_builds_6000:
name: Run All WebGl Build [6000.0]
# Runs all WebGL builds on minimum supported editor
run_all_webgl_builds_minimum_editor:
name: Run All WebGl Build [{{ validation_editors.minimal }}]
dependencies:
{% for project in projects.default -%}
{% for platform in test_platforms.desktop -%}
- .yamato/webgl-build.yml#webgl_build_{{ project.name }}_{{ platform.name }}_6000.0
- .yamato/webgl-build.yml#webgl_build_{{ project.name }}_{{ platform.name }}_{{ validation_editors.minimal }}
{% endfor -%}
{% endfor -%}

# Runs all WebGL builds on default editor
run_all_webgl_builds_default:
name: Run All WebGl Build [{{ validation_editors.default }}]
dependencies:
{% for project in projects.default -%}
{% for platform in test_platforms.desktop -%}
- .yamato/webgl-build.yml#webgl_build_{{ project.name }}_{{ platform.name }}_{{ validation_editors.default }}
{% endfor -%}
{% endfor -%}

Expand Down Expand Up @@ -206,14 +236,26 @@ run_all_project_tests_desktop_standalone_pinnedTrunk:
{% endfor -%}
{% endfor -%}

# Runs all Desktop tests on mimimum supported editor (6000.0 in case of NGOv2.X)
run_all_project_tests_desktop_standalone_6000:
name: Run All Standalone Tests - Desktop [6000.0]
# Runs all Desktop tests on minimum supported editor
run_all_project_tests_desktop_standalone_minimum_editor:
name: Run All Standalone Tests - Desktop [{{ validation_editors.minimal }}]
dependencies:
{% for project in projects.default -%}
{% for platform in test_platforms.desktop -%}
{% for backend in scripting_backends -%}
- .yamato/desktop-standalone-tests.yml#desktop_standalone_test_{{ project.name }}_{{ platform.name }}_{{ backend }}_{{ validation_editors.minimal }}
{% endfor -%}
{% endfor -%}
{% endfor -%}

# Runs all Desktop tests on default editor
run_all_project_tests_desktop_standalone_default:
name: Run All Standalone Tests - Desktop [{{ validation_editors.default }}]
dependencies:
{% for project in projects.default -%}
{% for platform in test_platforms.desktop -%}
{% for backend in scripting_backends -%}
- .yamato/desktop-standalone-tests.yml#desktop_standalone_test_{{ project.name }}_{{ platform.name }}_{{ backend }}_6000.0
- .yamato/desktop-standalone-tests.yml#desktop_standalone_test_{{ project.name }}_{{ platform.name }}_{{ backend }}_{{ validation_editors.default }}
{% endfor -%}
{% endfor -%}
{% endfor -%}
Expand Down Expand Up @@ -251,13 +293,23 @@ run_all_project_tests_mobile_standalone_pinnedTrunk:
{% endfor -%}
{% endfor -%}

# Runs all Mobile tests on mimimum supported editor (6000.0 in case of NGOv2.X)
run_all_project_tests_mobile_standalone_6000:
name: Run All Standalone Tests - Mobile [6000.0]
# Runs all Mobile tests on minimum supported editor
run_all_project_tests_mobile_standalone_minimum_editor:
name: Run All Standalone Tests - Mobile [{{ validation_editors.minimal }}]
dependencies:
{% for project in projects.default -%}
{% for platform in test_platforms.mobile_test -%}
- .yamato/mobile-standalone-test.yml#mobile_standalone_test_{{ project.name }}_{{ platform.name }}_{{ validation_editors.minimal }}
{% endfor -%}
{% endfor -%}

# Runs all Mobile tests on default editor
run_all_project_tests_mobile_standalone_default:
name: Run All Standalone Tests - Mobile [{{ validation_editors.default }}]
dependencies:
{% for project in projects.default -%}
{% for platform in test_platforms.mobile_test -%}
- .yamato/mobile-standalone-test.yml#mobile_standalone_test_{{ project.name }}_{{ platform.name }}_6000.0
- .yamato/mobile-standalone-test.yml#mobile_standalone_test_{{ project.name }}_{{ platform.name }}_{{ validation_editors.default }}
{% endfor -%}
{% endfor -%}

Expand Down Expand Up @@ -295,13 +347,23 @@ run_all_project_tests_console_standalone_pinnedTrunk:
{% endfor -%}
{% endfor -%}

# Runs all Console tests on mimimum supported editor (6000.0 in case of NGOv2.X)
run_all_project_tests_console_standalone_6000:
name: Run All Standalone Tests - Console [6000.0]
# Runs all Console tests on minimum supported editor
run_all_project_tests_console_standalone_minimum_editor:
name: Run All Standalone Tests - Console [{{ validation_editors.minimal }}]
dependencies:
{% for project in projects.default -%}
{% for platform in test_platforms.console_test -%}
- .yamato/console-standalone-test.yml#console_standalone_test_{{ project.name }}_{{ platform.name }}_6000.0
- .yamato/console-standalone-test.yml#console_standalone_test_{{ project.name }}_{{ platform.name }}_{{ validation_editors.minimal }}
{% endfor -%}
{% endfor -%}

# Runs all Console tests on default editor
run_all_project_tests_console_standalone_default:
name: Run All Standalone Tests - Console [{{ validation_editors.default }}]
dependencies:
{% for project in projects.default -%}
{% for platform in test_platforms.console_test -%}
- .yamato/console-standalone-test.yml#console_standalone_test_{{ project.name }}_{{ platform.name }}_{{ validation_editors.default }}
{% endfor -%}
{% endfor -%}

Expand Down Expand Up @@ -344,14 +406,26 @@ run_all_project_tests_cmb_service_pinnedTrunk:
{% endfor -%}
{% endfor -%}

# Runs all CMB service tests on mimimum supported editor (6000.0 in case of NGOv2.X)
run_all_project_tests_cmb_service_6000:
name: Run All CMB Service Tests [6000.0]
# Runs all CMB service tests on minimum supported editor
run_all_project_tests_cmb_service_minimum_editor:
name: Run All CMB Service Tests [{{ validation_editors.minimal }}]
dependencies:
{% for project in projects.default -%}
{% for platform in test_platforms.default -%}
{% for backend in scripting_backends -%}
- .yamato/cmb-service-standalone-tests.yml#cmb_service_standalone_test_{{ project.name }}_{{ platform.name }}_{{ backend }}_{{ validation_editors.minimal }}
{% endfor -%}
{% endfor -%}
{% endfor -%}

# Runs all CMB service tests on default editor
run_all_project_tests_cmb_service_default:
name: Run All CMB Service Tests [{{ validation_editors.default }}]
dependencies:
{% for project in projects.default -%}
{% for platform in test_platforms.default -%}
{% for backend in scripting_backends -%}
- .yamato/cmb-service-standalone-tests.yml#cmb_service_standalone_test_{{ project.name }}_{{ platform.name }}_{{ backend }}_6000.0
- .yamato/cmb-service-standalone-tests.yml#cmb_service_standalone_test_{{ project.name }}_{{ platform.name }}_{{ backend }}_{{ validation_editors.default }}
{% endfor -%}
{% endfor -%}
{% endfor -%}
52 changes: 26 additions & 26 deletions .yamato/_triggers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
# Nightly:
# This test validates same subset as pull_request_trigger with addition of mobile/console tests and webgl builds
# Runs daily on develop (local configuration)
# Includes all test types but only on trunk.
# Includes all test types but only on trunk and the default editor.
# Adds platform-specific and APV validation

# Weekly:
Expand Down Expand Up @@ -76,13 +76,13 @@ pr_code_changes_checks:
# Run API validation to early-detect all new APIs that would force us to release new minor version of the package. Note that for this to work the package version in package.json must correspond to "actual package state" which means that it should be higher than last released version
- .yamato/vetting-test.yml#vetting_test

# Run package EditMode and Playmode package tests on trunk and an older supported editor (6000.3)
# Run package EditMode and Playmode package tests on pinned trunk and the minimal supported editor
- .yamato/package-tests.yml#package_test_-_ngo_{{ pinnedTrunk }}_mac
- .yamato/package-tests.yml#package_test_-_ngo_6000.3_win
- .yamato/package-tests.yml#package_test_-_ngo_{{ validation_editors.minimal }}_win

# Run testproject EditMode and Playmode project tests on trunk and an older supported editor (6000.3)
# Run testproject EditMode and Playmode project tests on pinned trunk and the minimal supported editor
- .yamato/project-tests.yml#test_testproject_win_{{ pinnedTrunk }}
- .yamato/project-tests.yml#test_testproject_mac_6000.3
- .yamato/project-tests.yml#test_testproject_mac_{{ validation_editors.minimal }}

# Run standalone test. We run it only on Ubuntu since it's the fastest machine, and it was noted that for example distribution on macOS is taking 40m since we switched to Apple Silicon
# Coverage on other standalone machines is present in Nightly job so it's enough to not run all of them for PRs
Expand Down Expand Up @@ -120,45 +120,45 @@ pr_code_changes_checks:



# Run all tests on trunk on nightly basis.
# Run all tests on nightly basis.
# Same subset as pull_request_trigger with addition of mobile/desktop/console tests and webgl builds
# Those tests are all running on trunk editor (since it's daily and running all of them would add a lot of overhead)
# Those tests are all running on trunk and the default editor (since it's daily and running all of them would add a lot of overhead)
develop_nightly:
name: "\U0001F319 [Nightly] Run All Tests [Trunk and 6000]"
name: "\U0001F319 [Nightly] Run All Tests [Trunk and Default]"
triggers:
recurring:
- branch: develop-2.0.0
- branch: develop-3.x.x
frequency: daily
rerun: always
dependencies:
# Run project standards to verify package/default project
- .yamato/project-standards.yml#standards_ubuntu_testproject_{{ validation_editors.minimal }}
# Run APV jobs to make sure the change won't break any dependants
- .yamato/wrench/preview-a-p-v.yml#all_preview_apv_jobs
# Run package EditMode and Playmode tests on desktop platforms on trunk and 6000.0
# Run package EditMode and Playmode tests on desktop platforms on trunk and default editor
- .yamato/_run-all.yml#run_all_package_tests_trunk
- .yamato/_run-all.yml#run_all_package_tests_6000
# Run project EditMode and PLaymode tests on desktop platforms on trunk and 6000.0
- .yamato/_run-all.yml#run_all_package_tests_default
# Run project EditMode and PLaymode tests on desktop platforms on trunk and default editor
- .yamato/_run-all.yml#run_all_project_tests_trunk
- .yamato/_run-all.yml#run_all_project_tests_6000
# Run Runtime tests on desktop players on trunk and 6000.0 editors
- .yamato/_run-all.yml#run_all_project_tests_default
# Run Runtime tests on desktop players on trunk and default editors
- .yamato/_run-all.yml#run_all_project_tests_desktop_standalone_trunk
- .yamato/_run-all.yml#run_all_project_tests_desktop_standalone_6000
# Run Runtime tests on mobile players on trunk and 6000.0 editors
- .yamato/_run-all.yml#run_all_project_tests_desktop_standalone_default
# Run Runtime tests on mobile players on trunk and default editors
- .yamato/_run-all.yml#run_all_project_tests_mobile_standalone_trunk
- .yamato/_run-all.yml#run_all_project_tests_mobile_standalone_6000
# Run Runtime tests on console players on trunk and 6000.0 editors
- .yamato/_run-all.yml#run_all_project_tests_mobile_standalone_default
# Run Runtime tests on console players on trunk and default editors
- .yamato/_run-all.yml#run_all_project_tests_console_standalone_trunk
- .yamato/_run-all.yml#run_all_project_tests_console_standalone_6000
# Build player for webgl platform on trunk and 6000.0 editors
- .yamato/_run-all.yml#run_all_project_tests_console_standalone_default
# Build player for webgl platform on trunk and default editors
- .yamato/_run-all.yml#run_all_webgl_builds_trunk
- .yamato/_run-all.yml#run_all_webgl_builds_6000
# Run Runtime tests against cmb service on trunk and 6000.0 editors
- .yamato/_run-all.yml#run_all_webgl_builds_default
# Run Runtime tests against cmb service on trunk and default editors
- .yamato/_run-all.yml#run_all_project_tests_cmb_service_trunk
- .yamato/_run-all.yml#run_all_project_tests_cmb_service_6000
# Build player for webgl platform on trunk and 6000.0 editors
- .yamato/_run-all.yml#run_all_project_tests_cmb_service_default
# Build player for webgl platform on trunk and default editors
- .yamato/project-updated-dependencies-test.yml#updated-dependencies_testproject_NGO_ubuntu_trunk
- .yamato/project-updated-dependencies-test.yml#updated-dependencies_testproject_NGO_win_6000.0
- .yamato/project-updated-dependencies-test.yml#updated-dependencies_testproject_NGO_win_{{ validation_editors.default }}
# Run API validation to early-detect all new APIs that would force us to release new minor version of the package. Note that for this to work the package version in package.json must correspond to "actual package state" which means that it should be higher than last released version
- .yamato/vetting-test.yml#vetting_test
# Run code coverage test
Expand All @@ -173,7 +173,7 @@ develop_weekly_trunk:
name: "\U0001F319 [Weekly] Run All Tests"
triggers:
recurring:
- branch: develop-2.0.0
- branch: develop-3.x.x
frequency: weekly
rerun: always
dependencies:
Expand Down