@@ -18,49 +18,31 @@ jobs:
1818
1919 steps :
2020 - uses : actions/checkout@v4
21+ with :
22+ submodules : recursive
2123
22- - name : Download artifact from workflow run
23- uses : dawidd6/action- download-artifact@v6
24+ - name : Download sample build
25+ uses : actions/ download-artifact@v4
2426 with :
25- run_id : 19533023161
26- name : " UE ${{ inputs.unreal-version }} sample build (Android)"
27+ name : UE ${{ inputs.unreal-version }} sample build (Android)
2728 path : sample-build
2829
29- - name : List downloaded files
30- run : |
31- echo "Downloaded build contents:"
32- ls -lah sample-build/
33- echo "Using APK for SauceLabs real device testing"
34-
3530 - name : Install Pester
3631 shell : pwsh
3732 run : Install-Module -Name Pester -Force -SkipPublisherCheck
3833
39- - name : Setup integration test configuration
40- shell : pwsh
41- run : |
42- cd integration-test
43- mkdir build
44- cmake -B build -S .
45-
4634 - name : Run integration tests
4735 id : run-integration-tests
4836 shell : pwsh
4937 env :
5038 SENTRY_UNREAL_TEST_DSN : ${{ secrets.SENTRY_UNREAL_TEST_DSN }}
5139 SENTRY_AUTH_TOKEN : ${{ secrets.SENTRY_API_TOKEN }}
40+ SENTRY_UNREAL_TEST_APP_PATH : ${{ github.workspace }}/sample-build/SentryPlayground-arm64.apk
5241 UNREAL_VERSION : ${{ inputs.unreal-version }}
5342 run : |
54- # Find the APK file
55- $apkPath = Get-ChildItem -Path "${{ github.workspace }}/sample-build" -Filter "*.apk" | Select-Object -First 1
56- if (-not $apkPath) {
57- throw "No APK file found in sample-build directory"
58- }
59-
60- Write-Host "Found APK: $($apkPath.Name)"
61- $env:SENTRY_UNREAL_TEST_APP_PATH = $apkPath.FullName
62-
6343 cd integration-test
44+ mkdir build
45+ cmake -B build -S .
6446 Invoke-Pester Integration.Tests.Android.SauceLabs.ps1 -CI
6547
6648 - name : Upload integration test output
0 commit comments