Skip to content

Commit 86b7652

Browse files
committed
fixup! Edit Pipeline Trigger
1 parent 5faca86 commit 86b7652

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

.pipelines/templates/run-unit-tests.yaml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -91,9 +91,6 @@ stages:
9191
inputs:
9292
version: '$(GOVERSION)'
9393

94-
- script: |
95-
where gcc
96-
9794
- task: UsePythonVersion@0
9895
inputs:
9996
versionSpec: '3.x' # string. Required. Version spec. Default: 3.x.
@@ -143,7 +140,7 @@ stages:
143140
144141
# Function to run the test and capture output
145142
def run_test():
146-
os.environ['CGO_ENABLED'] = "1"
143+
#os.environ['CGO_ENABLED'] = "1"
147144
cmd_gotest = 'go test -timeout 30m -mod=readonly -buildvcs=false -tags "unit" '
148145
cmd_gotest += f"--skip 'TestE2E*' -race -covermode atomic -coverprofile={coverage_out} ./npm/... ./cni/... ./platform/..."
149146
cmd_junitreport = f'{junit_report_bin} -set-exit-code -in {report_dir}/test.log -out {junit_xml} -iocopy'

0 commit comments

Comments
 (0)