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

This commit is contained in:
Brian Yencho 2024-01-08 10:21:53 -06:00 committed by Álison Fernandes
parent 70a425dfd8
commit ab5ea4ebaa

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: