File tree Expand file tree Collapse file tree 3 files changed +10
-10
lines changed
generate-split-index-json Expand file tree Collapse file tree 3 files changed +10
-10
lines changed Original file line number Diff line number Diff line change 11name : Split Tests Java
2233description : Splits a JUnit test suite for parallelization with equal time
4+ branding :
5+ icon : shuffle
6+ color : blue
47inputs :
58 split-index :
69 description : Index of this instance executing the tests (integer)
@@ -30,7 +33,7 @@ inputs:
3033 options :
3134 - list
3235 - gradle
33- default : ' list'
36+ default : list
3437 average-time :
3538 description : Use the average test time from tests with JUnit reports for tests without JUnit reports (boolean)
3639 required : false
8891 TESTS=$($COMMAND)
8992 echo "This runner will execute the following tests: $TESTS"
9093 echo "test-suite=${TESTS}" >> $GITHUB_OUTPUT
91- branding :
92- icon : shuffle
93- color : blue
Original file line number Diff line number Diff line change 11name : Generate Split Index JSON
2233description : Generates a split index JSON from a total number of splits
4+ branding :
5+ icon : list
6+ color : blue
47inputs :
58 split-total :
69 description : Total number of instances executing the tests (integer)
2326 INDEX_LIST=$(seq 0 ${MAX_INDEX})
2427 INDEX_JSON=$(jq --null-input --compact-output '. |= [inputs]' <<< ${INDEX_LIST})
2528 echo "split-index-list=${INDEX_JSON}" >> "$GITHUB_OUTPUT"
26- branding :
27- icon : list
28- color : blue
Original file line number Diff line number Diff line change 11name : Merge JUnit reports
2233description : Merges the JUnit reports from the test split jobs and saves them in a Git branch
4+ branding :
5+ icon : archive
6+ color : blue
47inputs :
58 git-branch :
69 description : The Git branch in this repository to store the JUnit reports in (string)
7982 message : ' Update JUnit reports'
8083 add : ' *.xml'
8184 cwd : junit-reports
82- branding :
83- icon : archive
84- color : blue
You can’t perform that action at this time.
0 commit comments