You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Enables -race flag for unit tests and FVT tests in run_test_case.yaml to
catch data races in CI.
---------
Signed-off-by: Jiyong Huang <huangjy@emqx.io>
Copy file name to clipboardExpand all lines: .github/workflows/run_test_case.yaml
+28-3Lines changed: 28 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -63,13 +63,38 @@ jobs:
63
63
cd extensions/functions/onnx
64
64
sudo ./install.sh
65
65
66
+
- name: Install Merge Tool
67
+
run: go install github.com/wadey/gocovmerge@latest
68
+
66
69
- name: Run test case
67
70
run: |
68
71
make failpoint-enable
69
-
go test -trimpath -tags="edgex msgpack script parquet test rpc" --cover -covermode=atomic -coverpkg=./... -coverprofile=coverage.xml $(go list ./... | grep -v "github.com/lf-edge/ekuiper/v2/fvt")
72
+
73
+
# 1. Run MAIN tests (With Race)
74
+
# We ADD -skip to avoid running the special tests here
75
+
go test -trimpath -race -tags="edgex msgpack script parquet test rpc" \
0 commit comments