File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 26
26
- name : Checkout code
27
27
uses : actions/checkout@v2
28
28
- name : Test
29
- run : go test -race -coverprofile=unit.txt -covermode=atomic ./...
29
+ run : go test -race -tags=fast - coverprofile=unit.txt -covermode=atomic ./...
30
30
- name : Clear report
31
31
run : sed -i '/testutil\|trace\|test/d' unit.txt
32
32
- name : Upload coverage to Codecov
66
66
- name : Checkout code
67
67
uses : actions/checkout@v2
68
68
- name : Test
69
- run : go test -race -tags=integration - coverpkg=./... -coverprofile=integration.txt -covermode=atomic ./test/...
69
+ run : go test -race -coverpkg=./... -coverprofile=integration.txt -covermode=atomic ./test/...
70
70
- name : Clear report
71
71
run : sed -i '/testutil\|trace\|test/d' integration.txt
72
72
- name : Upload coverage to Codecov
Original file line number Diff line number Diff line change 1
- //go:build integration
2
- // +build integration
1
+ //go:build !fast
2
+ // +build !fast
3
3
4
4
package test
5
5
Original file line number Diff line number Diff line change 1
- //go:build integration
2
- // +build integration
1
+ //go:build !fast
2
+ // +build !fast
3
3
4
4
package test
5
5
You can’t perform that action at this time.
0 commit comments