@@ -46,46 +46,19 @@ jobs:
46
46
47
47
- name : Exclude android modules from build
48
48
run : |
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
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
66
50
67
51
- name : Exclude android modules from ignore list
68
52
run : |
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
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
76
54
77
55
- name : Build server jar
78
56
run : |
79
57
./gradlew :sentry-samples:${{ matrix.sample }}:bootJar
80
58
81
59
- name : Start server and run integration test for sentry-cli commands
82
60
run : |
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
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
89
62
90
63
- name : Upload test results
91
64
if : always()
0 commit comments