@@ -189,9 +189,10 @@ jobs:
189189 run : ./test/Scripts.Integration.Test/add-sentry.ps1 -UnityPath "$env:UNITY_PATH" -PackagePath "test-package-release"
190190
191191 - name : Configure Sentry
192- run : ./test/Scripts.Integration.Test/configure-sentry.ps1 -UnityPath "$env:UNITY_PATH" -Platform "$env:BUILD_PLATFORM" -CheckSymbols
192+ run : ./test/Scripts.Integration.Test/configure-sentry.ps1 -UnityPath "$env:UNITY_PATH" -Platform "$env:BUILD_PLATFORM" -CheckSymbols -TestMode "integration"
193193 env :
194194 BUILD_PLATFORM : ${{ matrix.build_platform }}
195+ SENTRY_DSN : ${{ secrets.SENTRY_TEST_DSN }}
195196
196197 - name : Build Project
197198 run : ./test/Scripts.Integration.Test/build-project.ps1 -UnityPath "$env:UNITY_PATH" -Platform "$env:BUILD_PLATFORM" -CheckSymbols:$([System.Convert]::ToBoolean($env:CHECK_SYMBOLS)) -UnityVersion "$env:UNITY_VERSION"
@@ -219,15 +220,14 @@ jobs:
219220 run : |
220221 # Note: remove local.properties file that contains Android SDK & NDK paths in the Unity installation.
221222 rm -rf samples/IntegrationTest/Build/*_BackUpThisFolder_ButDontShipItWithYourGame
222- tar -cvzf test-app-runtime .tar.gz samples/IntegrationTest/Build
223+ tar -cvzf test-app-webgl .tar.gz samples/IntegrationTest/Build
223224
224- # Upload runtime initialization build
225225 - name : Upload test app
226226 uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
227227 with :
228- name : testapp-${{ matrix.platform }}- ${{ matrix.unity-version }}-runtime
228+ name : testapp-webgl-compiled- ${{ matrix.unity-version }}
229229 if-no-files-found : error
230- path : test-app-runtime .tar.gz
230+ path : test-app-webgl .tar.gz
231231 retention-days : 14
232232
233233 - name : Upload IntegrationTest project on failure
@@ -325,33 +325,17 @@ jobs:
325325 # - https://github.com/actions/runner-images/blob/main/images/macos/macos-14-Readme.md
326326
327327 smoke-test-run-webgl :
328- name : Run ${{ matrix.platform }} ${{ matrix.unity-version }} Smoke Test
328+ name : Run WebGL ${{ matrix.unity-version }} Integration Test
329329 if : ${{ !startsWith(github.ref, 'refs/heads/release/') }}
330330 needs : [smoke-test-build-webgl, create-unity-matrix]
331- runs-on : ubuntu-latest
331+ secrets : inherit
332332 strategy :
333333 fail-fast : false
334334 matrix :
335335 unity-version : ${{ fromJSON(needs.create-unity-matrix.outputs.unity-matrix).unity-version }}
336- platform : ["WebGL"]
337- steps :
338- - name : Checkout
339- uses : actions/checkout@v3
340-
341- - name : Download test app artifact
342- uses : actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4
343- id : download
344- with :
345- name : testapp-${{ matrix.platform }}-${{ matrix.unity-version }}-runtime
346-
347- - name : Extract test app
348- run : tar -xvzf test-app-runtime.tar.gz
349-
350- - name : Run (WebGL)
351- timeout-minutes : 10
352- run : |
353- pip3 install --upgrade --user selenium urllib3 requests
354- python3 scripts/smoke-test-webgl.py "samples/IntegrationTest/Build"
336+ uses : ./.github/workflows/smoke-test-run-webgl.yml
337+ with :
338+ unity-version : ${{ matrix.unity-version }}
355339
356340 smoke-test-build-linux :
357341 name : Build Linux ${{ matrix.unity-version }} Integration Test
0 commit comments