File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change 14
14
paths :
15
15
- .github/workflows/coder-test-stability.yaml
16
16
workflow_dispatch :
17
+ inputs :
18
+ iterationCount :
19
+ description : ' Iteration Count'
20
+ required : false
21
+ default : ' 25'
17
22
18
23
# Cancel in-progress runs for pull requests when developers push
19
24
# additional changes, and serialize builds in branches.
61
66
- name : Test with Mock Database
62
67
shell : bash
63
68
env :
64
- GOCOUNT : 25
69
+ GOCOUNT : ${{ github.event.inputs.logLevel }}
65
70
GOMAXPROCS : ${{ runner.os == 'Windows' && 1 || 2 }}
66
71
run : gotestsum --junitfile="gotests.xml" --packages="./..." --
67
72
-covermode=atomic -coverprofile="gotests.coverage"
79
84
if : runner.os == 'Linux'
80
85
run : DB=true gotestsum --junitfile="gotests.xml" --packages="./..." --
81
86
-covermode=atomic -coverprofile="gotests.coverage" -timeout=3m
82
- -count=25 -race -parallel=2 -failfast
87
+ -count=${{ github.event.inputs.logLevel }} -race -parallel=2 -failfast
83
88
84
89
- name : Upload DataDog Trace
85
90
if : (success() || failure()) && github.actor != 'dependabot[bot]' && runner.os == 'Linux'
You can’t perform that action at this time.
0 commit comments