File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- 0.2.5
1+ 0.3.0
Original file line number Diff line number Diff line change 1- 0.2.5
1+ 0.3.0
Original file line number Diff line number Diff line change 117117
118118# Post process label-analysis response
119119
120+
120121# Create directory to put result files
121122mkdir codecov_ats
122123# Export tests to run and tests to skip into respective files
@@ -131,7 +132,7 @@ skip_count=$(testcount ats_tests_to_skip)
131132
132133# Change tests_to_run to have 1 test if no tests were selected
133134# This avoids users running ALL tests if no test is selected to run
134- # ⚠️ it's safer for the customer if they check test counts themselves and run tests conditionally
135+ # (ideally customer will they check test counts themselves and run tests conditionally)
135136if [[ " $run_count " -eq 0 ]]; then
136137 say " All tests skipped. Adding random test in tests_to_run to avoid running all tests"
137138 jq <<< " $response" --argjson randint $RANDOM ' .runner_options + [.ats_tests_to_skip[$randint % length]] | @sh' --raw-output > codecov_ats/tests_to_run.txt
You can’t perform that action at this time.
0 commit comments