File tree Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -112,9 +112,6 @@ stages:
112112 cwd = os.path.realpath(cwd)
113113 bin_install_dir = os.path.join(cwd, 'bin')
114114 os.environ['GOBIN'] = bin_install_dir
115-
116- cgo_path = sys.argv[2]
117- os.environ['PATH'] += ':{cgo_path}'
118115
119116 report_dir = os.environ['REPORT_DIR']
120117 report_dir = os.path.realpath(report_dir)
@@ -140,9 +137,8 @@ stages:
140137
141138 # Function to run the test and capture output
142139 def run_test():
143- #os.environ['CGO_ENABLED'] = "1"
144140 cmd_gotest = 'go test -timeout 30m -mod=readonly -buildvcs=false -tags "unit" '
145- cmd_gotest += f"--skip 'TestE2E*' -race - covermode atomic -coverprofile={coverage_out} ./npm/... ./cni/... ./platform/..."
141+ cmd_gotest += f"--skip 'TestE2E*' -covermode atomic -coverprofile={coverage_out} ./npm/... ./cni/... ./platform/..."
146142 cmd_junitreport = f'{junit_report_bin} -set-exit-code -in {report_dir}/test.log -out {junit_xml} -iocopy'
147143 cmd_gocover = f'go tool cover -func={coverage_out}'
148144
You can’t perform that action at this time.
0 commit comments