Skip to content

Commit fbc9469

Browse files
runningcodeclaude
andcommitted
ci(system-tests): Remove sed hacks for android module exclusion
Remove the sed-based Android module exclusion from settings.gradle.kts and build.gradle.kts in the backend system tests workflow. This is unnecessary because org.gradle.configureondemand=true ensures Gradle only configures projects needed for the requested tasks, and the test runner already builds targeted sample modules rather than the whole project. This mirrors #5397, which removed the same sed hacks from the Spring Boot matrix workflows. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
1 parent 7d8a394 commit fbc9469

1 file changed

Lines changed: 0 additions & 29 deletions

File tree

.github/workflows/system-tests-backend.yml

Lines changed: 0 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -122,35 +122,6 @@ jobs:
122122
with:
123123
cache-encryption-key: ${{ secrets.GRADLE_ENCRYPTION_KEY }}
124124

125-
- name: Exclude android modules from build
126-
run: |
127-
sed -i \
128-
-e '/.*"sentry-android-ndk",/d' \
129-
-e '/.*"sentry-android",/d' \
130-
-e '/.*"sentry-compose",/d' \
131-
-e '/.*"sentry-android-core",/d' \
132-
-e '/.*"sentry-android-fragment",/d' \
133-
-e '/.*"sentry-android-navigation",/d' \
134-
-e '/.*"sentry-android-sqlite",/d' \
135-
-e '/.*"sentry-android-timber",/d' \
136-
-e '/.*"sentry-android-integration-tests:sentry-uitest-android-benchmark",/d' \
137-
-e '/.*"sentry-android-integration-tests:sentry-uitest-android",/d' \
138-
-e '/.*"sentry-android-integration-tests:sentry-uitest-android-critical",/d' \
139-
-e '/.*"sentry-android-integration-tests:test-app-sentry",/d' \
140-
-e '/.*"sentry-samples:sentry-samples-android",/d' \
141-
-e '/.*"sentry-android-replay",/d' \
142-
settings.gradle.kts
143-
144-
- name: Exclude android modules from ignore list
145-
run: |
146-
sed -i \
147-
-e '/.*"sentry-uitest-android",/d' \
148-
-e '/.*"sentry-uitest-android-benchmark",/d' \
149-
-e '/.*"sentry-uitest-android-critical",/d' \
150-
-e '/.*"test-app-sentry",/d' \
151-
-e '/.*"sentry-samples-android",/d' \
152-
build.gradle.kts
153-
154125
- name: Build and run system tests
155126
run: |
156127
python3 test/system-test-runner.py test --module "${{ matrix.sample }}" --agent "${{ matrix.agent }}" --auto-init "${{ matrix.agent-auto-init }}" --build "true"

0 commit comments

Comments
 (0)