diff options
Diffstat (limited to '.github/actions')
| -rwxr-xr-x | .github/actions/test-shard-run/run_tests.sh | 3 |
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 . |
