aboutsummaryrefslogtreecommitdiff
path: root/.github/actions
diff options
context:
space:
mode:
authorMenny Even Danan <menny@evendanan.net>2020-02-01 05:33:49 +0000
committerMenny Even Danan <menny@evendanan.net>2020-02-01 06:33:41 +0000
commit2a396cc5d671c8b15b72fe51766365cf2365ea85 (patch)
tree7a2b562aa56087d5207045506a7828bb8e323894 /.github/actions
parent0fd7d180f0de2c206590d4ee8faad295e5e0c794 (diff)
downloadAnySoftKeyboard-2a396cc5d671c8b15b72fe51766365cf2365ea85.tar.gz
AnySoftKeyboard-2a396cc5d671c8b15b72fe51766365cf2365ea85.tar.bz2
re-sharding tests
Diffstat (limited to '.github/actions')
-rwxr-xr-x.github/actions/test-shard-run/run_tests.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/.github/actions/test-shard-run/run_tests.sh b/.github/actions/test-shard-run/run_tests.sh
index c98e4a58c..c4b8a3c63 100755
--- a/.github/actions/test-shard-run/run_tests.sh
+++ b/.github/actions/test-shard-run/run_tests.sh
@@ -10,7 +10,8 @@ echo "Will run tests for module '${MODULE}' with extra args '${EXTRA_ARGS}' for
./scripts/download_robolectric_jars_to_machine.sh
-./gradlew "${MODULE}testDebugUnitTest" "${MODULE}testDebugUnitTestCoverage" ${EXTRA_ARGS}
+#extra args needs to come before the coverage task so "--tests" will be passed to the test tasks
+./gradlew "${MODULE}testDebugUnitTest" ${EXTRA_ARGS} "${MODULE}testDebugUnitTestCoverage"
#see https://github.com/actions/cache/issues/133
[[ -n "${GITHUB_ACTIONS}" ]] && chmod -R a+rwx .