@@ -46,19 +46,46 @@ jobs:
46
46
47
47
- name : Exclude android modules from build
48
48
run : |
49
- sed -i -e '/.*"sentry-android-ndk",/d' -e '/.*"sentry-android",/d' -e '/.*"sentry-compose",/d' -e '/.*"sentry-android-core",/d' -e '/.*"sentry-android-fragment",/d' -e '/.*"sentry-android-navigation",/d' -e '/.*"sentry-android-okhttp",/d' -e '/.*"sentry-android-sqlite",/d' -e '/.*"sentry-android-timber",/d' -e '/.*"sentry-android-integration-tests:sentry-uitest-android-benchmark",/d' -e '/.*"sentry-android-integration-tests:sentry-uitest-android",/d' -e '/.*"sentry-android-integration-tests:test-app-sentry",/d' -e '/.*"sentry-samples:sentry-samples-android",/d' -e '/.*"sentry-android-replay",/d' settings.gradle.kts
49
+ sed -i \
50
+ -e '/.*"sentry-android-ndk",/d' \
51
+ -e '/.*"sentry-android",/d' \
52
+ -e '/.*"sentry-compose",/d' \
53
+ -e '/.*"sentry-android-core",/d' \
54
+ -e '/.*"sentry-android-fragment",/d' \
55
+ -e '/.*"sentry-android-navigation",/d' \
56
+ -e '/.*"sentry-android-okhttp",/d' \
57
+ -e '/.*"sentry-android-sqlite",/d' \
58
+ -e '/.*"sentry-android-timber",/d' \
59
+ -e '/.*"sentry-android-integration-tests:sentry-uitest-android-benchmark",/d' \
60
+ -e '/.*"sentry-android-integration-tests:sentry-uitest-android",/d' \
61
+ -e '/.*"sentry-android-integration-tests:sentry-uitest-android-critical",/d' \
62
+ -e '/.*"sentry-android-integration-tests:test-app-sentry",/d' \
63
+ -e '/.*"sentry-samples:sentry-samples-android",/d' \
64
+ -e '/.*"sentry-android-replay",/d' \
65
+ settings.gradle.kts
50
66
51
67
- name : Exclude android modules from ignore list
52
68
run : |
53
- sed -i -e '/.*"sentry-uitest-android",/d' -e '/.*"sentry-uitest-android-benchmark",/d' -e '/.*"test-app-sentry",/d' -e '/.*"sentry-samples-android",/d' build.gradle.kts
69
+ sed -i \
70
+ -e '/.*"sentry-uitest-android",/d' \
71
+ -e '/.*"sentry-uitest-android-benchmark",/d' \
72
+ -e '/.*"sentry-uitest-android-critical",/d' \
73
+ -e '/.*"test-app-sentry",/d' \
74
+ -e '/.*"sentry-samples-android",/d' \
75
+ build.gradle.kts
54
76
55
77
- name : Build server jar
56
78
run : |
57
79
./gradlew :sentry-samples:${{ matrix.sample }}:bootJar
58
80
59
81
- name : Start server and run integration test for sentry-cli commands
60
82
run : |
61
- test/system-test-sentry-server-start.sh > sentry-mock-server.txt 2>&1 & test/system-test-spring-server-start.sh "${{ matrix.sample }}" > spring-server.txt 2>&1 & test/wait-for-spring.sh && ./gradlew :sentry-samples:${{ matrix.sample }}:systemTest
83
+ test/system-test-sentry-server-start.sh \
84
+ > sentry-mock-server.txt 2>&1 & \
85
+ test/system-test-spring-server-start.sh "${{ matrix.sample }}" \
86
+ > spring-server.txt 2>&1 & \
87
+ test/wait-for-spring.sh && \
88
+ ./gradlew :sentry-samples:${{ matrix.sample }}:systemTest
62
89
63
90
- name : Upload test results
64
91
if : always()
0 commit comments