Repository navigation
change output of action - #32
Conversation
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #32 +/- ##
==========================================
+ Coverage 47.44% 48.83% +1.39%
==========================================
Files 7 7
Lines 215 215
==========================================
+ Hits 102 105 +3
+ Misses 113 110 -3
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
5657e1e to
6577ba2
Compare
ba4d4ed to
966dddb
Compare
8e07e7b to
27b1a31
Compare
| ats_tests_to_skip_array=($ats_tests_to_skip) | ||
|
|
||
| if [[ -z $ats_tests_to_skip ]]; then | ||
| say "$y==>$x No tests to skip, running all tests" |
There was a problem hiding this comment.
There are the 2 cases here that I'd like to make sure we're doing.
- If no tests are selected to run, pick one at random (so that we dont' run all tests)
- If there are no tests to skip, don't pass in any tests so that it runs all tests
There was a problem hiding this comment.
Point 1 I understand, but can you clarify point 2?
You mean "don't pass any tests" to the tests to run?
There was a problem hiding this comment.
I wouldn't be to eager to do it if that's the case.
First because changing the action output is exactly to support this scenario, so it's unnecessary to treat this case differently.
Second because, if you think about it, there's a chance that not passing any info would actually cause us to tell the user to run more tests than passing them all, if the user configures collect_test_options. I do think this is unlikely to happen, but still possible.
There was a problem hiding this comment.
Oh, that's a good point. I hadn't considered the collect_test_options
Currently the action sets envvars as outputs to run tests. This is easier for the customer, but we've seen more than a few times users hitting Linux or GHA command size limits because of the amount of tests to run. To solve this problem, the present changes move the output to files created by the action. It requires a different - more complicated - command to run tests, as indicated in `README.md`, but should still be doable. And should solve the command size problem too.
JSON requires more involvement of customers. .txt is Easier to use, as suggested by @thomasrockhu-codecov
* fix some typos * add random test in "ats_tests_to_run" if no test is selected to run
10a451f to
efe8822
Compare
Currently the action sets envvars as outputs to run tests.
This is easier for the customer, but we've seen more than a few times
users hitting Linux or GHA command size limits because of the amount
of tests to run.
To solve this problem, the present changes move the output to files
created by the action.
It requires a different - more complicated - command to run tests,
as indicated in
README.md, but should still be doable.And should solve the command size problem too.