Skip to content

Commit

Permalink
Merge pull request #33 from codecov/run-all-tests
Browse files Browse the repository at this point in the history
fix: when running all tests, dont pass in test names
  • Loading branch information
thomasrockhu-codecov authored Dec 20, 2023
2 parents 8828a9b + 0e2e398 commit 8633d98
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions dist/codecov_ats.sh
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,9 @@ if [[ -z $ats_tests_to_run ]]; then
else
ats_tests_to_run=${ats_tests_to_skip_array[ $RANDOM % ${#ats_tests_to_skip_array[@]} ]}
fi
elif [[ -z $ats_tests_to_skip ]]; then
say "$y==>$x No tests are skipped, running all"
ats_tests_to_run=""
fi

test_commands="$runner_options "
Expand Down
3 changes: 3 additions & 0 deletions src/codecov_ats.sh
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,9 @@ if [[ -z $ats_tests_to_run ]]; then
else
ats_tests_to_run=${ats_tests_to_skip_array[ $RANDOM % ${#ats_tests_to_skip_array[@]} ]}
fi
elif [[ -z $ats_tests_to_skip ]]; then
say "$y==>$x No tests are skipped, running all"
ats_tests_to_run=""
fi

test_commands="$runner_options "
Expand Down

0 comments on commit 8633d98

Please sign in to comment.