diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d8f18852d9..ce697fde02 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -261,14 +261,6 @@ jobs: path: modules/sentry-cocoa/Carthage key: ${{ steps.cache-cocoa.outputs.cache-primary-key }} - # Only a completed Cocoa build writes the stamp, so a failed one is never cached. - - name: Save Cocoa SDK - if: ${{ !cancelled() && steps.cache-cocoa.outputs.cache-primary-key != '' && steps.cache-cocoa.outputs.cache-hit != 'true' && hashFiles('modules/sentry-cocoa/Carthage/.built-from-sha') != '' }} - uses: actions/cache/save@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0 - with: - path: modules/sentry-cocoa/Carthage - key: ${{ steps.cache-cocoa.outputs.cache-primary-key }} - - name: Upload build logs if: ${{ always() }} uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2 diff --git a/.github/workflows/device-tests-android.yml b/.github/workflows/device-tests-android.yml index 8972524831..3fa581ab12 100644 --- a/.github/workflows/device-tests-android.yml +++ b/.github/workflows/device-tests-android.yml @@ -28,6 +28,8 @@ on: - 'test/Sentry.Testing/**' - 'test/Sentry.Testing.CrashableApp/**' - 'test/AndroidTestApp/**' + # Referenced by Sentry.Maui.Tests + - 'src/Sentry.Extensions.Hosting/**' # Integration tests - 'integration-test/android.Tests.ps1' - 'integration-test/ios.Tests.ps1' diff --git a/.github/workflows/device-tests-ios.yml b/.github/workflows/device-tests-ios.yml index 8b3d652aa8..fff2bb3409 100644 --- a/.github/workflows/device-tests-ios.yml +++ b/.github/workflows/device-tests-ios.yml @@ -28,6 +28,8 @@ on: - 'test/Sentry.Testing/**' - 'test/Sentry.Testing.CrashableApp/**' - 'test/AndroidTestApp/**' + # Referenced by Sentry.Maui.Tests + - 'src/Sentry.Extensions.Hosting/**' # Integration tests - 'integration-test/android.Tests.ps1' - 'integration-test/ios.Tests.ps1' @@ -89,18 +91,6 @@ jobs: path: modules/sentry-cocoa/Carthage key: ${{ steps.cocoa-key.outputs.key }} - # See build.yml - - name: Get Cocoa SDK cache key - id: cocoa-key - uses: ./.github/actions/cocoa-cache-key - - - name: Restore Cocoa SDK - id: cache-cocoa - uses: actions/cache/restore@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0 - with: - path: modules/sentry-cocoa/Carthage - key: ${{ steps.cocoa-key.outputs.key }} - - name: Build iOS Test App run: pwsh ./scripts/device-test.ps1 ios -Build diff --git a/test/Sentry.DiagnosticSource.IntegrationTests/Sentry.DiagnosticSource.IntegrationTests.csproj b/test/Sentry.DiagnosticSource.IntegrationTests/Sentry.DiagnosticSource.IntegrationTests.csproj index 1842a0f831..d0b9b16f74 100644 --- a/test/Sentry.DiagnosticSource.IntegrationTests/Sentry.DiagnosticSource.IntegrationTests.csproj +++ b/test/Sentry.DiagnosticSource.IntegrationTests/Sentry.DiagnosticSource.IntegrationTests.csproj @@ -6,13 +6,16 @@ $(TargetFrameworks);net48 - + + + +