File tree Expand file tree Collapse file tree 1 file changed +15
-1
lines changed
Expand file tree Collapse file tree 1 file changed +15
-1
lines changed Original file line number Diff line number Diff line change 2222 required : false
2323 default : true
2424 type : " boolean"
25+ suite :
26+ description : " Test suite to run (each option includes its predecessors)"
27+ required : false
28+ default : " regression"
29+ type : " choice"
30+ options :
31+ - fast
32+ - regression
33+ - exhaustive
2534permissions : {}
2635jobs :
2736 generate-testdata :
@@ -95,11 +104,16 @@ jobs:
95104 - name : Run tests
96105 shell : bash # Use bash shell to propagate pipe failures
97106 run : |
107+ case "${{ inputs.suite || (github.event_name == 'schedule' && 'exhaustive') || 'regression' }}" in
108+ exhaustive) SUITE="fast|regression|exhaustive" ;;
109+ regression) SUITE="fast|regression" ;;
110+ *) SUITE="fast" ;;
111+ esac
98112 go test \
99113 -o results/bench.test \
100114 -v -slow-tests -remote-transport=${{ matrix.remote_transport }} -timeout=60m \
101115 -cpuprofile=results/cpu.pprof -memprofile=results/mem.pprof \
102- -run=' TestStorageEquality/(fast|regression )/.*/kind=.+/store=${{ matrix.store }}$' \
116+ -run=" TestStorageEquality/(${SUITE} )/.*/kind=.+/store=${{ matrix.store }}$" \
103117 ${{ matrix.range_type == 'instant' && '-range-type=instant' || '' }} \
104118 ${{ inputs.failfast == true && '-failfast' || '' }} \
105119 | tee results/results.txt
You can’t perform that action at this time.
0 commit comments