File tree Expand file tree Collapse file tree 3 files changed +40
-9
lines changed Expand file tree Collapse file tree 3 files changed +40
-9
lines changed Original file line number Diff line number Diff line change 1+ name : tests
2+
3+ on :
4+ push : {branches: [master]}
5+ pull_request : {branches: [master]}
6+
7+ jobs :
8+ test :
9+ runs-on : ubuntu-20.04
10+ timeout-minutes : 10
11+ strategy :
12+ fail-fast : false
13+ matrix :
14+ gover :
15+ - " 1.13"
16+ - " 1.14"
17+ - " 1.15"
18+ - " 1.16"
19+ - " 1.17"
20+ goarch :
21+ - " amd64"
22+ - " 386"
23+
24+ container : " golang:${{matrix.gover}}-alpine"
25+ env :
26+ GOARCH : " ${{matrix.goarch}}"
27+
28+ steps :
29+ - uses : actions/checkout@v2
30+
31+ - name : test
32+ run : |
33+ GOMAXPROCS=1 go test -v
34+ GOMAXPROCS=4 go test -v -race
35+
36+ - name : lint
37+ run : |
38+ go vet
39+ gofmt -w *.go && git diff --exit-code
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -262,7 +262,7 @@ func TestDiskQueueCorruption(t *testing.T) {
262262 // give diskqueue time to handle read error
263263 time .Sleep (50 * time .Millisecond )
264264
265- // the last log file is now considered corrupted leaving no more log messages
265+ // the last log file is now considered corrupted leaving no more log messages
266266 Equal (t , int64 (0 ), dq .Depth ())
267267}
268268
You can’t perform that action at this time.
0 commit comments