File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change 18
18
iterationCount :
19
19
description : ' Iteration Count'
20
20
required : false
21
- default : ' 25 '
21
+ default : ' 15 '
22
22
23
23
# Cancel in-progress runs for pull requests when developers push
24
24
# additional changes, and serialize builds in branches.
@@ -29,14 +29,17 @@ concurrency:
29
29
30
30
jobs :
31
31
coder-test-stability :
32
- name : " test/go/stability/${{ matrix.os }}"
32
+ name : " test/go/stability/${{ matrix.os }}/${{ matrix.instance }} "
33
33
runs-on : ${{ matrix.os }}
34
34
strategy :
35
35
matrix :
36
36
os :
37
37
- ubuntu-latest
38
38
- macos-latest
39
39
- windows-2022
40
+ instance :
41
+ - 1
42
+ - 2
40
43
steps :
41
44
- uses : actions/checkout@v2
42
45
66
69
- name : Test with Mock Database
67
70
shell : bash
68
71
env :
69
- GOCOUNT : ${{ github.event.inputs.iterationCount || 25 }}
72
+ GOCOUNT : ${{ github.event.inputs.iterationCount || 15 }}
70
73
GOMAXPROCS : ${{ runner.os == 'Windows' && 1 || 2 }}
71
74
run : gotestsum --junitfile="gotests.xml" --packages="./..." --
72
75
-covermode=atomic -coverprofile="gotests.coverage"
83
86
- name : Test with PostgreSQL Database
84
87
if : runner.os == 'Linux'
85
88
env :
86
- GOCOUNT : ${{ github.event.inputs.iterationCount || 25 }}
89
+ GOCOUNT : ${{ github.event.inputs.iterationCount || 15 }}
87
90
run : DB=true gotestsum --junitfile="gotests.xml" --packages="./..." --
88
91
-covermode=atomic -coverprofile="gotests.coverage" -timeout=3m
89
92
-count=$GOCOUNT -race -parallel=2 -failfast
You can’t perform that action at this time.
0 commit comments