Skip to content

Commit

Permalink
run yamato tests on PRs that target v2-staging (#5026)
Browse files Browse the repository at this point in the history
* run yamato tests on PRs that target v2-staging

* remove comments
  • Loading branch information
Chris Elion authored and surfnerd committed Mar 18, 2021
1 parent 18d5135 commit 459f204
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions .yamato/com.unity.ml-agents-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ test_{{ package.name }}_{{ platform.name }}_{{ editor.version }}:
{% if platform.name == "linux" %}
expression: |
(pull_request.target eq "main" OR
pull_request.target eq "v2-staging" OR
pull_request.target match "release.+") AND
NOT pull_request.draft AND
(pull_request.changes.any match "com.unity.ml-agents/**" OR
Expand Down
1 change: 1 addition & 0 deletions .yamato/compressed-sensor-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ test_compressed_obs_{{ editor.version }}:
{% if editor.extra_test == "sensor" %}
expression: |
(pull_request.target eq "main" OR
pull_request.target eq "v2-staging" OR
pull_request.target match "release.+") AND
NOT pull_request.draft AND
(pull_request.changes.any match "com.unity.ml-agents/**" OR
Expand Down
1 change: 1 addition & 0 deletions .yamato/gym-interface-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ test_gym_interface_{{ editor.version }}:
{% if editor.extra_test == "gym" %}
expression: |
(pull_request.target eq "main" OR
pull_request.target eq "v2-staging" OR
pull_request.target match "release.+") AND
NOT pull_request.draft AND
(pull_request.changes.any match "com.unity.ml-agents/**" OR
Expand Down
1 change: 1 addition & 0 deletions .yamato/protobuf-generation-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ test_linux_protobuf_generation:
cancel_old_ci: true
expression: |
(pull_request.target eq "main" OR
pull_request.target eq "v2-staging" OR
pull_request.target match "release.+") AND
NOT pull_request.draft AND
(pull_request.changes.any match "protobuf-definitions/**" OR
Expand Down
1 change: 1 addition & 0 deletions .yamato/python-ll-api-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ test_linux_ll_api_{{ editor.version }}:
{% if editor.extra_test == "llapi" %}
expression: |
(pull_request.target eq "main" OR
pull_request.target eq "v2-staging" OR
pull_request.target match "release.+") AND
NOT pull_request.draft AND
(pull_request.changes.any match "com.unity.ml-agents/**" OR
Expand Down
1 change: 1 addition & 0 deletions .yamato/standalone-build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ test_linux_standalone_{{ editor.version }}:
cancel_old_ci: true
expression: |
(pull_request.target eq "main" OR
pull_request.target eq "v2-staging" OR
pull_request.target match "release.+") AND
NOT pull_request.draft AND
(pull_request.changes.any match "com.unity.ml-agents/**" OR
Expand Down
1 change: 1 addition & 0 deletions .yamato/training-int-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ test_linux_training_int_{{ editor.version }}:
cancel_old_ci: true
expression: |
(pull_request.target eq "main" OR
pull_request.target eq "v2-staging" OR
pull_request.target match "release.+") AND
NOT pull_request.draft AND
(pull_request.changes.any match "com.unity.ml-agents/**" OR
Expand Down

0 comments on commit 459f204

Please sign in to comment.