Skip to content

Commit 36a5fd7

Browse files
committed
chore: Reduce the number of jobs running on PR triggers
1 parent 09e38a3 commit 36a5fd7

File tree

1 file changed

+16
-11
lines changed

1 file changed

+16
-11
lines changed

.yamato/_triggers.yml

Lines changed: 16 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -43,15 +43,20 @@
4343
# Since standards job is a part of initial checks it's not present as direct dependency here
4444
pull_request_trigger:
4545
name: Pull Request Trigger (develop, develop-2.0.0, & release branches)
46+
# Run the following tests on a selection of different desktop platforms
4647
dependencies:
47-
# Run package EditMode and Playmode package tests on trunk
48-
- .yamato/_run-all.yml#run_all_package_tests_trunk
49-
# Run package EditMode and Playmode package tests on minimum supported editor (2021.3 in case of NGOv1.X)
50-
- .yamato/_run-all.yml#run_all_package_tests_2021
51-
# Run project EditMode and PLaymode project tests on trunk
52-
- .yamato/_run-all.yml#run_all_project_tests_trunk
53-
# Run project EditMode and PLaymode project tests on minimum supported editor (2021.3 in case of NGOv1.X)
54-
- .yamato/_run-all.yml#run_all_project_tests_2021
48+
# Run package EditMode and Playmode package tests on trunk and minimum supported editor (2021.3 in case of NGOv1.X)
49+
- .yamato/project-tests.yml#test_testproject_mac_trunk
50+
- .yamato/package-tests.yml#package_test_-_ngo_2021.3_win
51+
52+
# Run testproject EditMode and Playmode project tests on trunk and minimum supported editor (2021.3 in case of NGOv1.X)
53+
- .yamato/project-tests.yml#test_testproject_win_trunk
54+
- .yamato/project-tests.yml#test_testproject_mac_2021.3
55+
56+
# Run tools integration tests EditMode and Playmode tests on trunk and minimum supported editor (2021.3 in case of NGOv1.X)
57+
- .yamato/project-tests.yml#test_testproject-tools-integration_ubuntu_2021.3
58+
- .yamato/project-tests.yml#test_testproject-tools-integration_win_trunk
59+
5560
# 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
5661
# Coverage on other standalone machines is present in Nightly job so it's enough to not run all of them for PRs
5762
- .yamato/desktop-standalone-tests.yml#desktop_standalone_test_testproject_ubuntu_il2cpp_2021.3
@@ -64,7 +69,7 @@ pull_request_trigger:
6469
- "develop-2.0.0"
6570
- "/release\/.*/"
6671
- drafts: false
67-
72+
6873

6974
# Run all tests on trunk on nightly basis.
7075
# Same subset as pull_request_trigger with addition of mobile/desktop/console tests and webgl builds
@@ -85,7 +90,7 @@ develop_nightly:
8590
# Run package EditMode and Playmode tests on desktop platforms on trunk and 2021.3
8691
- .yamato/_run-all.yml#run_all_package_tests_trunk
8792
- .yamato/_run-all.yml#run_all_package_tests_2021
88-
# Run project EditMode and PLaymode tests on desktop platforms on trunk and 2021.3
93+
# Run project EditMode and PLaymode tests on desktop platforms on trunk and 2021.3
8994
- .yamato/_run-all.yml#run_all_project_tests_trunk
9095
- .yamato/_run-all.yml#run_all_project_tests_2021
9196
# Run Runtime tests on desktop players on trunk and 2021 editors
@@ -132,4 +137,4 @@ develop_weekly_trunk:
132137
# Build player for webgl platform on trunk
133138
- .yamato/_run-all.yml#run_all_webgl_builds
134139
# Run code coverage test
135-
- .yamato/code-coverage.yml#code_coverage_ubuntu_trunk
140+
- .yamato/code-coverage.yml#code_coverage_ubuntu_trunk

0 commit comments

Comments
 (0)