Skip to content

Commit 053b797

Browse files
authored
Update ci-internal.yml
1 parent 1b6a011 commit 053b797

1 file changed

Lines changed: 11 additions & 11 deletions

File tree

.github/workflows/ci-internal.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ jobs:
183183
if [[ ${{ inputs.os }} == 'macos-latest' ]]; then
184184
sudo /Applications/Unity/Unity.app/Contents/MacOS/Unity -batchmode -nographics -createManualActivationFile -quit
185185
elif [[ ${{ inputs.os }} == 'ubuntu-latest' ]]; then
186-
/opt/Unity/Editor/Unity -batchmode -nographics -createManualActivationFile -quit
186+
/opt/Editor/Unity -batchmode -nographics -createManualActivationFile -quit
187187
fi
188188
continue-on-error: true
189189

@@ -245,7 +245,7 @@ jobs:
245245
if [[ ${{ inputs.os }} == 'macos-latest' ]]; then
246246
sudo /Applications/Unity/Unity.app/Contents/MacOS/Unity -batchmode -nographics -manualLicenseFile "$(ls | grep ".ulf$")" -quit
247247
elif [[ ${{ inputs.os }} == 'ubuntu-latest' ]]; then
248-
/opt/Unity/Editor/Unity -batchmode -nographics -manualLicenseFile "$(ls | grep ".ulf$")" -quit
248+
/opt/Editor/Unity -batchmode -nographics -manualLicenseFile "$(ls | grep ".ulf$")" -quit
249249
fi
250250
continue-on-error: true
251251

@@ -255,7 +255,7 @@ jobs:
255255
if [[ ${{ inputs.os }} == 'macos-latest' ]]; then
256256
sudo /Applications/Unity/Unity.app/Contents/MacOS/Unity -batchmode -nographics -projectPath "$GITHUB_WORKSPACE" -executeMethod StreamChat.EditorTools.StreamEditorTools.EnableStreamTestsEnabledCompilerFlag -quit
257257
elif [[ ${{ inputs.os }} == 'ubuntu-latest' ]]; then
258-
/opt/Unity/Editor/Unity -batchmode -nographics -projectPath "$GITHUB_WORKSPACE" -executeMethod StreamChat.EditorTools.StreamEditorTools.EnableStreamTestsEnabledCompilerFlag -quit
258+
/opt/Editor/Unity -batchmode -nographics -projectPath "$GITHUB_WORKSPACE" -executeMethod StreamChat.EditorTools.StreamEditorTools.EnableStreamTestsEnabledCompilerFlag -quit
259259
fi
260260
261261
- name: Run Unity Tests
@@ -265,7 +265,7 @@ jobs:
265265
if [[ ${{ inputs.os }} == 'macos-latest' ]]; then
266266
sudo /Applications/Unity/Unity.app/Contents/MacOS/Unity -batchmode -nographics -projectPath "$GITHUB_WORKSPACE" -runTests -testResults ~/test_results/results.xml -streamBase64TestDataSet ${{ secrets.STREAM_AUTH_TEST_DATA_BASE64 }}
267267
elif [[ ${{ inputs.os }} == 'ubuntu-latest' ]]; then
268-
/opt/Unity/Editor/Unity -batchmode -nographics -projectPath "$GITHUB_WORKSPACE" -runTests -testResults ~/test_results/results.xml -streamBase64TestDataSet ${{ secrets.STREAM_AUTH_TEST_DATA_BASE64 }}
268+
/opt/Editor/Unity -batchmode -nographics -projectPath "$GITHUB_WORKSPACE" -runTests -testResults ~/test_results/results.xml -streamBase64TestDataSet ${{ secrets.STREAM_AUTH_TEST_DATA_BASE64 }}
269269
fi
270270
continue-on-error: true
271271

@@ -286,12 +286,12 @@ jobs:
286286
inputXmlPath: ~/test_results/results.xml
287287
outputHtmlPath: ~/test_results/results.html
288288

289-
- name: Upload tests results XML Artifact
290-
uses: actions/upload-artifact@v3
291-
if: always()
292-
with:
293-
name: ${{ inputs.os }}_${{ inputs.unity_version }}_${{ inputs.compiler }}_${{ inputs.dotnet_version }}_${{ inputs.target_platform }}_test_results.xml
294-
path: ~/test_results/results.xml
289+
# - name: Upload tests results XML Artifact
290+
# uses: actions/upload-artifact@v3
291+
# if: always()
292+
# with:
293+
# name: ${{ inputs.os }}_${{ inputs.unity_version }}_${{ inputs.compiler }}_${{ inputs.dotnet_version }}_${{ inputs.target_platform }}_test_results.xml
294+
# path: ~/test_results/results.xml
295295

296296
- name: Upload tests results Html Artifact
297297
uses: actions/upload-artifact@v3
@@ -322,7 +322,7 @@ jobs:
322322
if [[ ${{ inputs.os }} == 'macos-latest' ]]; then
323323
sudo /Applications/Unity/Unity.app/Contents/MacOS/Unity -batchmode -nographics -projectPath "$GITHUB_WORKSPACE" -executeMethod "StreamChat.EditorTools.StreamEditorTools.BuildSampleApp" -streamBase64TestDataSet ${{ secrets.STREAM_AUTH_TEST_DATA_BASE64 }} -apiCompatibility ${{ inputs.dotnet_version }} -scriptingBackend ${{ inputs.compiler }} -buildTargetPlatform ${{ inputs.target_platform }} -buildTargetPath "~/SampleAppBuild/App" -quit
324324
elif [[ ${{ inputs.os }} == 'ubuntu-latest' ]]; then
325-
/opt/Unity/Editor/Unity -batchmode -nographics -projectPath "$GITHUB_WORKSPACE" -executeMethod "StreamChat.EditorTools.StreamEditorTools.BuildSampleApp" -streamBase64TestDataSet ${{ secrets.STREAM_AUTH_TEST_DATA_BASE64 }} -apiCompatibility ${{ inputs.dotnet_version }} -scriptingBackend ${{ inputs.compiler }} -buildTargetPlatform ${{ inputs.target_platform }} -buildTargetPath "~/SampleAppBuild/App" -quit
325+
/opt/Editor/Unity -batchmode -nographics -projectPath "$GITHUB_WORKSPACE" -executeMethod "StreamChat.EditorTools.StreamEditorTools.BuildSampleApp" -streamBase64TestDataSet ${{ secrets.STREAM_AUTH_TEST_DATA_BASE64 }} -apiCompatibility ${{ inputs.dotnet_version }} -scriptingBackend ${{ inputs.compiler }} -buildTargetPlatform ${{ inputs.target_platform }} -buildTargetPath "~/SampleAppBuild/App" -quit
326326
fi
327327
328328
- name: LS

0 commit comments

Comments
 (0)