diff --git a/.github/workflows/device-tests-android.yml b/.github/workflows/device-tests-android.yml index a3fa287e15..b37cef0a6d 100644 --- a/.github/workflows/device-tests-android.yml +++ b/.github/workflows/device-tests-android.yml @@ -6,8 +6,48 @@ on: - main - release/* pull_request: - paths-ignore: - - "**.md" + paths: + # Core SDK (transitive dependency of all mobile packages) + - 'src/Sentry/**' + - 'src/Sentry.Extensions.Logging/**' + - 'src/Sentry.Compiler.Extensions/**' + # Mobile-specific packages + - 'src/Sentry.Maui/**' + - 'src/Sentry.Maui.CommunityToolkit.Mvvm/**' + - 'src/Sentry.Bindings.Android/**' + - 'src/Sentry.Bindings.Cocoa/**' + - 'src/Sentry.Android.AssemblyReader/**' + # Device test app and test projects that run on device + - 'test/Sentry.Maui.Device.TestApp/**' + - 'test/Sentry.Tests/**' + - 'test/Sentry.Extensions.Logging.Tests/**' + - 'test/Sentry.Maui.Tests/**' + - 'test/Sentry.Maui.CommunityToolkit.Mvvm.Tests/**' + - 'test/Sentry.Android.AssemblyReader.Tests/**' + - 'test/Sentry.Testing/**' + - 'test/AndroidTestApp/**' + # Integration tests + - 'integration-test/android.Tests.ps1' + - 'integration-test/ios.Tests.ps1' + - 'integration-test/net9-maui/**' + - 'integration-test/common.ps1' + - 'integration-test/Directory.Build.*' + # Native libraries and modules + - 'lib/sentrysupplemental/**' + - 'lib/sentry-android-supplemental/**' + - 'modules/sentry-native/**' + - 'modules/sentry-cocoa/**' + - 'modules/sentry-cocoa.properties' + # Build configuration (affects all builds) + - 'global.json' + - 'Directory.Build.props' + - 'Directory.Build.targets' + - 'nuget.config' + # Scripts and CI + - 'scripts/device-test.ps1' + - 'scripts/device-test-utils.ps1' + - '.github/workflows/device-tests-android.yml' + - '.github/actions/**' workflow_dispatch: jobs: diff --git a/.github/workflows/device-tests-ios.yml b/.github/workflows/device-tests-ios.yml index 0ce20b789c..5bd010d2f0 100644 --- a/.github/workflows/device-tests-ios.yml +++ b/.github/workflows/device-tests-ios.yml @@ -6,8 +6,48 @@ on: - main - release/* pull_request: - paths-ignore: - - "**.md" + paths: + # Core SDK (transitive dependency of all mobile packages) + - 'src/Sentry/**' + - 'src/Sentry.Extensions.Logging/**' + - 'src/Sentry.Compiler.Extensions/**' + # Mobile-specific packages + - 'src/Sentry.Maui/**' + - 'src/Sentry.Maui.CommunityToolkit.Mvvm/**' + - 'src/Sentry.Bindings.Android/**' + - 'src/Sentry.Bindings.Cocoa/**' + - 'src/Sentry.Android.AssemblyReader/**' + # Device test app and test projects that run on device + - 'test/Sentry.Maui.Device.TestApp/**' + - 'test/Sentry.Tests/**' + - 'test/Sentry.Extensions.Logging.Tests/**' + - 'test/Sentry.Maui.Tests/**' + - 'test/Sentry.Maui.CommunityToolkit.Mvvm.Tests/**' + - 'test/Sentry.Android.AssemblyReader.Tests/**' + - 'test/Sentry.Testing/**' + - 'test/AndroidTestApp/**' + # Integration tests + - 'integration-test/android.Tests.ps1' + - 'integration-test/ios.Tests.ps1' + - 'integration-test/net9-maui/**' + - 'integration-test/common.ps1' + - 'integration-test/Directory.Build.*' + # Native libraries and modules + - 'lib/sentrysupplemental/**' + - 'lib/sentry-android-supplemental/**' + - 'modules/sentry-native/**' + - 'modules/sentry-cocoa/**' + - 'modules/sentry-cocoa.properties' + # Build configuration (affects all builds) + - 'global.json' + - 'Directory.Build.props' + - 'Directory.Build.targets' + - 'nuget.config' + # Scripts and CI + - 'scripts/device-test.ps1' + - 'scripts/device-test-utils.ps1' + - '.github/workflows/device-tests-ios.yml' + - '.github/actions/**' workflow_dispatch: jobs: