Improve CI performance by excluding unnecessary FDroid tasks (#533)

This commit is contained in:
Brian Yencho authored and Álison Fernandes committed 2024-06-20 17:08:07 +01:00
1 parent 70a425dfd8
commit ab5ea4ebaa
1 file changed
+12 -2
+12 -2
View File
@@ -36,8 +36,18 @@ jobs:
- name: Build and Run Check
# Run checks while excluding release-build tests, which are not configured to work properly
# with the Compose testing library.
run: ./gradlew check -x testStandardRelease -x testFdroidDebug -x testFdroidRelease koverXmlReportStandardDebug
# with the Compose testing library. Also exclude most FDroid-related tasks, as there is no
# significant code difference between builds.
run: |
./gradlew check \
-x testStandardRelease \
-x testFdroidDebug \
-x testFdroidRelease \
-x lintFdroidDebug \
-x lintFdroidRelease \
-x detektFdroidDebug \
-x detektFdroidRelease \
koverXmlReportStandardDebug
- name: Danger
env: