From ab5ea4ebaa4d8a489718a346a02c09ba805ec5e6 Mon Sep 17 00:00:00 2001 From: Brian Yencho Date: Mon, 8 Jan 2024 10:21:53 -0600 Subject: [PATCH] Improve CI performance by excluding unnecessary FDroid tasks (#533) --- .github/workflows/run-check.yml | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/.github/workflows/run-check.yml b/.github/workflows/run-check.yml index f4ce9df563..fd0e5ce442 100644 --- a/.github/workflows/run-check.yml +++ b/.github/workflows/run-check.yml @@ -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: