@@ -218,44 +218,27 @@ test:kover:
218
218
# TEST PYRAMID
219
219
# the steps in this section should reflect our test pyramid strategy
220
220
221
- test-pyramid:core-it-min-api :
221
+ test-pyramid:core-it :
222
222
tags : [ "macos:sonoma", "specific:true" ]
223
223
stage : test-pyramid
224
224
timeout : 1h
225
- variables :
226
- ANDROID_API : " 21"
227
- ANDROID_EMULATOR_IMAGE : " system-images;android-$ANDROID_API;google_apis;${ANDROID_ARCH}"
228
- ANDROID_PLATFORM : " platforms;android-$ANDROID_API"
229
- ANDROID_BUILD_TOOLS : " build-tools;$ANDROID_API.0.0"
230
- script :
231
- - !reference [.snippets, install-android-api-components]
232
- - !reference [.snippets, run-core-it-instrumented]
233
-
234
- test-pyramid:core-it-latest-api :
235
- tags : [ "macos:sonoma", "specific:true" ]
236
- stage : test-pyramid
237
- timeout : 1h
238
- variables :
239
- ANDROID_API : " 36"
240
- ANDROID_EMULATOR_IMAGE : " system-images;android-$ANDROID_API;google_apis;${ANDROID_ARCH}"
241
- ANDROID_PLATFORM : " platforms;android-$ANDROID_API"
242
- ANDROID_BUILD_TOOLS : " build-tools;$ANDROID_API.0.0"
243
- script :
244
- - !reference [.snippets, install-android-api-components]
245
- - !reference [.snippets, run-core-it-instrumented]
246
-
247
- test-pyramid:core-it-median-api :
248
- tags : [ "macos:sonoma", "specific:true" ]
249
- stage : test-pyramid
250
- timeout : 1h
251
- variables :
252
- ANDROID_API : " 28"
253
- ANDROID_EMULATOR_IMAGE : " system-images;android-$ANDROID_API;google_apis;${ANDROID_ARCH}"
254
- ANDROID_PLATFORM : " platforms;android-$ANDROID_API"
255
- ANDROID_BUILD_TOOLS : " build-tools;$ANDROID_API.0.0"
256
- script :
257
- - !reference [.snippets, install-android-api-components]
258
- - !reference [.snippets, run-core-it-instrumented]
225
+ parallel :
226
+ matrix :
227
+ - ANDROID_API : " 21"
228
+ ANDROID_EMULATOR_IMAGE : " system-images;android-$ANDROID_API;google_apis;${ANDROID_ARCH}"
229
+ ANDROID_PLATFORM : " platforms;android-$ANDROID_API"
230
+ ANDROID_BUILD_TOOLS : " build-tools;$ANDROID_API.0.0"
231
+ - ANDROID_API : " 28"
232
+ ANDROID_EMULATOR_IMAGE : " system-images;android-$ANDROID_API;google_apis;${ANDROID_ARCH}"
233
+ ANDROID_PLATFORM : " platforms;android-$ANDROID_API"
234
+ ANDROID_BUILD_TOOLS : " build-tools;$ANDROID_API.0.0"
235
+ - ANDROID_API : " 36"
236
+ ANDROID_EMULATOR_IMAGE : " system-images;android-$ANDROID_API;google_apis;${ANDROID_ARCH}"
237
+ ANDROID_PLATFORM : " platforms;android-$ANDROID_API"
238
+ ANDROID_BUILD_TOOLS : " build-tools;$ANDROID_API.0.0"
239
+ script :
240
+ - !reference [ .snippets, install-android-api-components ]
241
+ - !reference [ .snippets, run-core-it-instrumented ]
259
242
260
243
test-pyramid:single-fit-logs :
261
244
tags : [ "arch:amd64" ]
@@ -341,46 +324,29 @@ test-pyramid:single-fit-okhttp:
341
324
reports :
342
325
junit : " **/build/test-results/testReleaseUnitTest/*.xml"
343
326
344
- # RUN INSTRUMENTED TESTS ON MIN API (21), LATEST API (34 ) and MEDIAN API (28)
327
+ # RUN INSTRUMENTED TESTS ON MIN API (21), LATEST API (36 ) and MEDIAN API (28)
345
328
346
- test-pyramid:legacy-integration-instrumented-min-api :
329
+ test-pyramid:legacy-integration-instrumented :
347
330
tags : [ "macos:sonoma", "specific:true" ]
348
331
stage : test-pyramid
349
332
timeout : 1h
350
- variables :
351
- ANDROID_API : " 21"
352
- ANDROID_EMULATOR_IMAGE : " system-images;android-$ANDROID_API;google_apis;${ANDROID_ARCH}"
353
- ANDROID_PLATFORM : " platforms;android-$ANDROID_API"
354
- ANDROID_BUILD_TOOLS : " build-tools;$ANDROID_API.0.0"
355
- script :
356
- - !reference [.snippets, install-android-api-components]
357
- - !reference [.snippets, run-legacy-integration-instrumented]
358
-
359
- test-pyramid:legacy-integration-instrumented-latest-api :
360
- tags : [ "macos:sonoma", "specific:true" ]
361
- stage : test-pyramid
362
- timeout : 1h
363
- variables :
364
- ANDROID_API : " 36"
365
- ANDROID_EMULATOR_IMAGE : " system-images;android-$ANDROID_API;google_apis;${ANDROID_ARCH}"
366
- ANDROID_PLATFORM : " platforms;android-$ANDROID_API"
367
- ANDROID_BUILD_TOOLS : " build-tools;$ANDROID_API.0.0"
368
- script :
369
- - !reference [.snippets, install-android-api-components]
370
- - !reference [.snippets, run-legacy-integration-instrumented]
371
-
372
- test-pyramid:legacy-integration-instrumented-median-api :
373
- tags : [ "macos:sonoma", "specific:true" ]
374
- stage : test-pyramid
375
- timeout : 1h
376
- variables :
377
- ANDROID_API : " 28"
378
- ANDROID_EMULATOR_IMAGE : " system-images;android-$ANDROID_API;google_apis;${ANDROID_ARCH}"
379
- ANDROID_PLATFORM : " platforms;android-$ANDROID_API"
380
- ANDROID_BUILD_TOOLS : " build-tools;$ANDROID_API.0.0"
381
- script :
382
- - !reference [.snippets, install-android-api-components]
383
- - !reference [.snippets, run-legacy-integration-instrumented]
333
+ parallel :
334
+ matrix :
335
+ - ANDROID_API : " 21"
336
+ ANDROID_EMULATOR_IMAGE : " system-images;android-$ANDROID_API;google_apis;${ANDROID_ARCH}"
337
+ ANDROID_PLATFORM : " platforms;android-$ANDROID_API"
338
+ ANDROID_BUILD_TOOLS : " build-tools;$ANDROID_API.0.0"
339
+ - ANDROID_API : " 28"
340
+ ANDROID_EMULATOR_IMAGE : " system-images;android-$ANDROID_API;google_apis;${ANDROID_ARCH}"
341
+ ANDROID_PLATFORM : " platforms;android-$ANDROID_API"
342
+ ANDROID_BUILD_TOOLS : " build-tools;$ANDROID_API.0.0"
343
+ - ANDROID_API : " 36"
344
+ ANDROID_EMULATOR_IMAGE : " system-images;android-$ANDROID_API;google_apis;${ANDROID_ARCH}"
345
+ ANDROID_PLATFORM : " platforms;android-$ANDROID_API"
346
+ ANDROID_BUILD_TOOLS : " build-tools;$ANDROID_API.0.0"
347
+ script :
348
+ - !reference [ .snippets, install-android-api-components ]
349
+ - !reference [ .snippets, run-legacy-integration-instrumented ]
384
350
385
351
test-pyramid:detekt-api-coverage :
386
352
tags : [ "arch:amd64" ]
@@ -517,7 +483,7 @@ publish:release-core:
517
483
stage : publish
518
484
timeout : 30m
519
485
script :
520
- - !reference [.snippets, set-publishing-credentials]
486
+ - !reference [ .snippets, set-publishing-credentials ]
521
487
- ./gradlew :dd-sdk-android-core:publishToSonatype --stacktrace --no-daemon
522
488
artifacts :
523
489
when : on_success
@@ -553,7 +519,7 @@ publish:release-trace:
553
519
stage : publish
554
520
timeout : 30m
555
521
script :
556
- - !reference [.snippets, set-publishing-credentials]
522
+ - !reference [ .snippets, set-publishing-credentials ]
557
523
- ./gradlew :features:dd-sdk-android-trace:publishToSonatype --stacktrace --no-daemon
558
524
artifacts :
559
525
when : on_success
@@ -570,7 +536,7 @@ publish:release-trace-otel:
570
536
stage : publish
571
537
timeout : 30m
572
538
script :
573
- - !reference [.snippets, set-publishing-credentials]
539
+ - !reference [ .snippets, set-publishing-credentials ]
574
540
- ./gradlew :features:dd-sdk-android-trace-otel:publishToSonatype --stacktrace --no-daemon
575
541
artifacts :
576
542
when : on_success
@@ -587,7 +553,7 @@ publish:release-logs:
587
553
stage : publish
588
554
timeout : 30m
589
555
script :
590
- - !reference [.snippets, set-publishing-credentials]
556
+ - !reference [ .snippets, set-publishing-credentials ]
591
557
- ./gradlew :features:dd-sdk-android-logs:publishToSonatype --stacktrace --no-daemon
592
558
artifacts :
593
559
when : on_success
@@ -604,7 +570,7 @@ publish:release-rum:
604
570
stage : publish
605
571
timeout : 30m
606
572
script :
607
- - !reference [.snippets, set-publishing-credentials]
573
+ - !reference [ .snippets, set-publishing-credentials ]
608
574
- ./gradlew :features:dd-sdk-android-rum:publishToSonatype --stacktrace --no-daemon
609
575
artifacts :
610
576
when : on_success
@@ -621,7 +587,7 @@ publish:release-ndk:
621
587
stage : publish
622
588
timeout : 30m
623
589
script :
624
- - !reference [.snippets, set-publishing-credentials]
590
+ - !reference [ .snippets, set-publishing-credentials ]
625
591
- ./gradlew :features:dd-sdk-android-ndk:publishToSonatype --stacktrace --no-daemon
626
592
artifacts :
627
593
when : on_success
@@ -638,7 +604,7 @@ publish:release-session-replay:
638
604
stage : publish
639
605
timeout : 30m
640
606
script :
641
- - !reference [.snippets, set-publishing-credentials]
607
+ - !reference [ .snippets, set-publishing-credentials ]
642
608
- ./gradlew :features:dd-sdk-android-session-replay:publishToSonatype --stacktrace --no-daemon
643
609
artifacts :
644
610
when : on_success
@@ -655,7 +621,7 @@ publish:release-session-replay-material:
655
621
stage : publish
656
622
timeout : 30m
657
623
script :
658
- - !reference [.snippets, set-publishing-credentials]
624
+ - !reference [ .snippets, set-publishing-credentials ]
659
625
- ./gradlew :features:dd-sdk-android-session-replay-material:publishToSonatype --stacktrace --no-daemon
660
626
artifacts :
661
627
when : on_success
@@ -672,7 +638,7 @@ publish:release-session-replay-compose:
672
638
stage : publish
673
639
timeout : 30m
674
640
script :
675
- - !reference [.snippets, set-publishing-credentials]
641
+ - !reference [ .snippets, set-publishing-credentials ]
676
642
- ./gradlew :features:dd-sdk-android-session-replay-compose:publishToSonatype --stacktrace --no-daemon
677
643
artifacts :
678
644
when : on_success
@@ -689,7 +655,7 @@ publish:release-webview:
689
655
stage : publish
690
656
timeout : 30m
691
657
script :
692
- - !reference [.snippets, set-publishing-credentials]
658
+ - !reference [ .snippets, set-publishing-credentials ]
693
659
- ./gradlew :features:dd-sdk-android-webview:publishToSonatype --stacktrace --no-daemon
694
660
artifacts :
695
661
when : on_success
@@ -710,7 +676,7 @@ publish:release-coil:
710
676
stage : publish
711
677
timeout : 30m
712
678
script :
713
- - !reference [.snippets, set-publishing-credentials]
679
+ - !reference [ .snippets, set-publishing-credentials ]
714
680
- ./gradlew :integrations:dd-sdk-android-coil:publishToSonatype --stacktrace --no-daemon
715
681
artifacts :
716
682
when : on_success
@@ -727,7 +693,7 @@ publish:release-compose:
727
693
stage : publish
728
694
timeout : 30m
729
695
script :
730
- - !reference [.snippets, set-publishing-credentials]
696
+ - !reference [ .snippets, set-publishing-credentials ]
731
697
- ./gradlew :integrations:dd-sdk-android-compose:publishToSonatype --stacktrace --no-daemon
732
698
artifacts :
733
699
when : on_success
@@ -744,7 +710,7 @@ publish:release-fresco:
744
710
stage : publish
745
711
timeout : 30m
746
712
script :
747
- - !reference [.snippets, set-publishing-credentials]
713
+ - !reference [ .snippets, set-publishing-credentials ]
748
714
- ./gradlew :integrations:dd-sdk-android-fresco:publishToSonatype --stacktrace --no-daemon
749
715
artifacts :
750
716
when : on_success
@@ -761,7 +727,7 @@ publish:release-glide:
761
727
stage : publish
762
728
timeout : 30m
763
729
script :
764
- - !reference [.snippets, set-publishing-credentials]
730
+ - !reference [ .snippets, set-publishing-credentials ]
765
731
- ./gradlew :integrations:dd-sdk-android-glide:publishToSonatype --stacktrace --no-daemon
766
732
artifacts :
767
733
when : on_success
@@ -778,7 +744,7 @@ publish:release-trace-coroutines:
778
744
stage : publish
779
745
timeout : 30m
780
746
script :
781
- - !reference [.snippets, set-publishing-credentials]
747
+ - !reference [ .snippets, set-publishing-credentials ]
782
748
- ./gradlew :integrations:dd-sdk-android-trace-coroutines:publishToSonatype --stacktrace --no-daemon
783
749
artifacts :
784
750
when : on_success
@@ -795,7 +761,7 @@ publish:release-rum-coroutines:
795
761
stage : publish
796
762
timeout : 30m
797
763
script :
798
- - !reference [.snippets, set-publishing-credentials]
764
+ - !reference [ .snippets, set-publishing-credentials ]
799
765
- ./gradlew :integrations:dd-sdk-android-rum-coroutines:publishToSonatype --stacktrace --no-daemon
800
766
artifacts :
801
767
when : on_success
@@ -812,7 +778,7 @@ publish:release-rx:
812
778
stage : publish
813
779
timeout : 30m
814
780
script :
815
- - !reference [.snippets, set-publishing-credentials]
781
+ - !reference [ .snippets, set-publishing-credentials ]
816
782
- ./gradlew :integrations:dd-sdk-android-rx:publishToSonatype --stacktrace --no-daemon
817
783
artifacts :
818
784
when : on_success
@@ -829,7 +795,7 @@ publish:release-sqldelight:
829
795
stage : publish
830
796
timeout : 30m
831
797
script :
832
- - !reference [.snippets, set-publishing-credentials]
798
+ - !reference [ .snippets, set-publishing-credentials ]
833
799
- ./gradlew :integrations:dd-sdk-android-sqldelight:publishToSonatype --stacktrace --no-daemon
834
800
artifacts :
835
801
when : on_success
@@ -846,7 +812,7 @@ publish:release-timber:
846
812
stage : publish
847
813
timeout : 30m
848
814
script :
849
- - !reference [.snippets, set-publishing-credentials]
815
+ - !reference [ .snippets, set-publishing-credentials ]
850
816
- ./gradlew :integrations:dd-sdk-android-timber:publishToSonatype --stacktrace --no-daemon
851
817
artifacts :
852
818
when : on_success
@@ -863,7 +829,7 @@ publish:release-android-tv:
863
829
stage : publish
864
830
timeout : 30m
865
831
script :
866
- - !reference [.snippets, set-publishing-credentials]
832
+ - !reference [ .snippets, set-publishing-credentials ]
867
833
- ./gradlew :integrations:dd-sdk-android-tv:publishToSonatype --stacktrace --no-daemon
868
834
artifacts :
869
835
when : on_success
@@ -880,7 +846,7 @@ publish:release-okhttp:
880
846
stage : publish
881
847
timeout : 30m
882
848
script :
883
- - !reference [.snippets, set-publishing-credentials]
849
+ - !reference [ .snippets, set-publishing-credentials ]
884
850
- ./gradlew :integrations:dd-sdk-android-okhttp:publishToSonatype --stacktrace --no-daemon
885
851
artifacts :
886
852
when : on_success
@@ -897,7 +863,7 @@ publish:release-okhttp-otel:
897
863
stage : publish
898
864
timeout : 30m
899
865
script :
900
- - !reference [.snippets, set-publishing-credentials]
866
+ - !reference [ .snippets, set-publishing-credentials ]
901
867
- ./gradlew :integrations:dd-sdk-android-okhttp-otel:publishToSonatype --stacktrace --no-daemon
902
868
artifacts :
903
869
when : on_success
@@ -916,7 +882,7 @@ publish:release-benchmark:
916
882
stage : publish
917
883
timeout : 30m
918
884
script :
919
- - !reference [.snippets, set-publishing-credentials]
885
+ - !reference [ .snippets, set-publishing-credentials ]
920
886
- ./gradlew :tools:benchmark:publishToSonatype --stacktrace --no-daemon
921
887
artifacts :
922
888
when : on_success
0 commit comments