Skip to content

Commit

Permalink
release: 0.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasrockhu-codecov committed Jan 9, 2024
1 parent 4f17ac7 commit ac32573
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.2.5
0.3.0
2 changes: 1 addition & 1 deletion dist/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.2.5
0.3.0
3 changes: 2 additions & 1 deletion dist/codecov_ats.sh
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ fi

# Post process label-analysis response


# Create directory to put result files
mkdir codecov_ats
# Export tests to run and tests to skip into respective files
Expand All @@ -131,7 +132,7 @@ skip_count=$(testcount ats_tests_to_skip)

# Change tests_to_run to have 1 test if no tests were selected
# This avoids users running ALL tests if no test is selected to run
# ⚠️ it's safer for the customer if they check test counts themselves and run tests conditionally
# (ideally customer will they check test counts themselves and run tests conditionally)
if [[ "$run_count" -eq 0 ]]; then
say "All tests skipped. Adding random test in tests_to_run to avoid running all tests"
jq <<< "$response" --argjson randint $RANDOM '.runner_options + [.ats_tests_to_skip[$randint % length]] | @sh' --raw-output > codecov_ats/tests_to_run.txt
Expand Down

0 comments on commit ac32573

Please sign in to comment.