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 2626 - name : Checkout code
2727 uses : actions/checkout@v2
2828 - name : Test
29- run : go test -race -coverprofile=unit.txt -covermode=atomic ./...
29+ run : go test -race -tags=fast - coverprofile=unit.txt -covermode=atomic ./...
3030 - name : Clear report
3131 run : sed -i '/testutil\|trace\|test/d' unit.txt
3232 - name : Upload coverage to Codecov
6666 - name : Checkout code
6767 uses : actions/checkout@v2
6868 - 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/...
7070 - name : Clear report
7171 run : sed -i '/testutil\|trace\|test/d' integration.txt
7272 - 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
33
44package test
55
Original file line number Diff line number Diff line change 1- //go:build integration
2- // +build integration
1+ //go:build !fast
2+ // +build !fast
33
44package test
55
You can’t perform that action at this time.
0 commit comments