File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 66
66
- name : Test with Mock Database
67
67
shell : bash
68
68
env :
69
- GOCOUNT : ${{ github.event.inputs.iterationCount }}
69
+ GOCOUNT : ${{ github.event.inputs.iterationCount || 25 }}
70
70
GOMAXPROCS : ${{ runner.os == 'Windows' && 1 || 2 }}
71
71
run : gotestsum --junitfile="gotests.xml" --packages="./..." --
72
72
-covermode=atomic -coverprofile="gotests.coverage"
82
82
83
83
- name : Test with PostgreSQL Database
84
84
if : runner.os == 'Linux'
85
+ env :
86
+ GOCOUNT : ${{ github.event.inputs.iterationCount || 25 }}
85
87
run : DB=true gotestsum --junitfile="gotests.xml" --packages="./..." --
86
88
-covermode=atomic -coverprofile="gotests.coverage" -timeout=3m
87
- -count=${{ github.event.inputs.iterationCount }} -race -parallel=2 -failfast
89
+ -count=$GOCOUNT -race -parallel=2 -failfast
88
90
89
91
- name : Upload DataDog Trace
90
92
if : (success() || failure()) && github.actor != 'dependabot[bot]' && runner.os == 'Linux'
You can’t perform that action at this time.
0 commit comments