Skip to content

Commit eec5478

Browse files
committed
[#448] Fix reuse section script
1 parent f64fdee commit eec5478

File tree

1 file changed

+6
-11
lines changed

1 file changed

+6
-11
lines changed

codemagic.yaml

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -6,29 +6,24 @@ definitions:
66
cache_paths:
77
- $HOME/.gradle/caches
88
scripts:
9-
- &detekt
10-
name: Run detekt static code analysis
11-
script: ./gradlew detekt
12-
ignore_failure: true
139
- &detekt_on_template_compose
1410
name: Run detekt on template-compose
1511
working_directory: ./template-compose
16-
script: *detekt
12+
script: ./gradlew detekt
13+
ignore_failure: true
1714
- &detekt_on_template_xml
1815
name: Run detekt on template-xml
1916
working_directory: ./template-xml
20-
script: *detekt
21-
- &unit_test
22-
name: Run unit tests and generate coverage report using Kover
23-
script: ./gradlew koverMergedReport
17+
script: ./gradlew detekt
18+
ignore_failure: true
2419
- &unit_test_on_template_compose
2520
name: Run unit tests on template-compose
2621
working_directory: ./template-compose
27-
script: *unit_test
22+
script: ./gradlew koverMergedReport
2823
- &unit_test_on_template_xml
2924
name: Run unit tests on template-xml
3025
working_directory: ./template-xml
31-
script: *unit_test
26+
script: ./gradlew koverMergedReport
3227
artifacts:
3328
- &artifacts_template_compose template-compose/build/reports/kover/merged/
3429
- &artifacts_template_xml template-xml/build/reports/kover/merged/

0 commit comments

Comments
 (0)