Skip to content

Commit d90ddb1

Browse files
committed
fix wrong logic
1 parent 2d7e82b commit d90ddb1

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.yamato/upm-ci.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,12 @@
2525
- move /Y .\Assets\Samples.meta .\Packages\com.unity.inputsystem
2626
- upm-ci package pack --package-path ./Packages/com.unity.inputsystem/
2727
# Run upm-ci verification tests as well as tests contained in the package.
28-
- upm-ci package test --package-path ./Packages/com.unity.inputsystem/ -u {% if EDITOR_REVISION_OVERRIDE != none %} {{ editor.version }} {% else %} %EDITOR_REVISION_OVERRIDE% {% endif %}
28+
- upm-ci package test --package-path ./Packages/com.unity.inputsystem/ -u {% if EDITOR_REVISION_OVERRIDE == none %} {{ editor.version }} {% else %} %EDITOR_REVISION_OVERRIDE% {% endif %}
2929
{% if platform.name == "win" %} --enable-code-coverage --code-coverage-options "generateAdditionalMetrics;generateHtmlReport;assemblyFilters:+Unity.InputSystem"
3030
--extra-utr-arg="--coverage-results-path={{ yamato_source_dir_win }}/upm-ci~/test-results/CodeCoverage/Package" {% endif %}
3131
{% if platform.installscript %}
3232
- {{ unity_downloader_install }}
33-
- {{ platform.installscript }} {% if EDITOR_REVISION_OVERRIDE != none %} {{ editor.version }} {% else %} %EDITOR_REVISION_OVERRIDE% {% endif %}
33+
- {{ platform.installscript }} {% if EDITOR_REVISION_OVERRIDE == none %} {{ editor.version }} {% else %} %EDITOR_REVISION_OVERRIDE% {% endif %}
3434
{% endif %}
3535
# ADBv2 on 2019.4 causes the test runner to not start on initial import when the
3636
# samples are in the package. Move the samples back into the project.
@@ -70,7 +70,7 @@
7070
- mv ./Assets/Samples.meta ./Packages/com.unity.inputsystem
7171
- upm-ci package pack --package-path ./Packages/com.unity.inputsystem/
7272
# Run upm-ci verification tests as well as tests contained in the package.
73-
- upm-ci package test --package-path ./Packages/com.unity.inputsystem/ -u {% if EDITOR_REVISION_OVERRIDE != none %} {{ editor.version }} {% else %} $EDITOR_REVISION_OVERRIDE {% endif %} {% if platform.name == "mac" or platform.name == "linux" %} --enable-code-coverage --code-coverage-options "generateAdditionalMetrics;generateHtmlReport;assemblyFilters:+Unity.InputSystem" --extra-utr-arg="--coverage-results-path={{ yamato_source_dir_nix }}/upm-ci~/test-results/CodeCoverage/Package" {% endif %}
73+
- upm-ci package test --package-path ./Packages/com.unity.inputsystem/ -u {% if EDITOR_REVISION_OVERRIDE == none %} {{ editor.version }} {% else %} $EDITOR_REVISION_OVERRIDE {% endif %} {% if platform.name == "mac" or platform.name == "linux" %} --enable-code-coverage --code-coverage-options "generateAdditionalMetrics;generateHtmlReport;assemblyFilters:+Unity.InputSystem" --extra-utr-arg="--coverage-results-path={{ yamato_source_dir_nix }}/upm-ci~/test-results/CodeCoverage/Package" {% endif %}
7474
{% if platform.installscript %}
7575
- {{ unity_downloader_install }}
7676
- {{ platform.installscript }} {% if EDITOR_REVISION_OVERRIDE != none %} {{ editor.version }} {% else %} $EDITOR_REVISION_OVERRIDE {% endif %}
@@ -105,7 +105,7 @@ build_ios_{{ editor.version }}_{{ category.name }}:
105105
commands:
106106
- {{ utr_install_nix }}
107107
- {{ unity_downloader_install }}
108-
- unity-downloader-cli -c Editor -c iOS -u {% if EDITOR_REVISION_OVERRIDE != none %} {{ editor.version }} {% else %} $EDITOR_REVISION_OVERRIDE {% endif %} --fast --wait
108+
- unity-downloader-cli -c Editor -c iOS -u {% if EDITOR_REVISION_OVERRIDE == none %} {{ editor.version }} {% else %} $EDITOR_REVISION_OVERRIDE {% endif %} --fast --wait
109109
- ./utr --suite=playmode {% if category.name == "performance" %} --category=Performance {% endif %} --platform=iOS --editor-location=.Editor --testproject=. --player-save-path=build/players --artifacts_path=build/logs --build-only --report-performance-data --performance-project-id=InputSystem
110110
after:
111111
- {{ instabilities_install_nix }}
@@ -153,7 +153,7 @@ build_tvos_{{ editor.version }}:
153153
commands:
154154
- {{ utr_install_nix }}
155155
- {{ unity_downloader_install }}
156-
- unity-downloader-cli -c Editor -c AppleTV -u {% if EDITOR_REVISION_OVERRIDE != none %} {{ editor.version }} {% else %} $EDITOR_REVISION_OVERRIDE {% endif %} --fast --wait
156+
- unity-downloader-cli -c Editor -c AppleTV -u {% if EDITOR_REVISION_OVERRIDE == none %} {{ editor.version }} {% else %} $EDITOR_REVISION_OVERRIDE {% endif %} --fast --wait
157157
- ./utr --suite=playmode --platform=tvOS --editor-location=.Editor --testproject=. --player-save-path=build/players --artifacts_path=build/logs --build-only --report-performance-data --performance-project-id=InputSystem
158158
after:
159159
- {{ instabilities_install_nix }}
@@ -201,7 +201,7 @@ build_android_{{ editor.version }}_{{ backend.name }}_{{ category.name }}:
201201
commands:
202202
- {{ utr_install_win }}
203203
- {{ unity_downloader_install }}
204-
- unity-downloader-cli -c Editor -c Android -u {% if EDITOR_REVISION_OVERRIDE != none %} {{ editor.version }} {% else %} %EDITOR_REVISION_OVERRIDE% {% endif %} --fast --wait
204+
- unity-downloader-cli -c Editor -c Android -u {% if EDITOR_REVISION_OVERRIDE == none %} {{ editor.version }} {% else %} %EDITOR_REVISION_OVERRIDE% {% endif %} --fast --wait
205205
- ./utr --suite=playmode {% if category.name == "performance" %} --category=Performance {% endif %} --platform=Android --editor-location=.Editor --testproject=. --player-save-path=build/players --artifacts_path=build/logs --scripting-backend={{ backend.name }} --build-only --repository --performance-project-id=InputSystem
206206
after:
207207
- {{ instabilities_install_win }}

0 commit comments

Comments
 (0)