Skip to content

Commit 81fd29d

Browse files
committed
fixup! Edit Pipeline Trigger
1 parent c9f0ba7 commit 81fd29d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -125,9 +125,9 @@ stages:
125125
126126
# Function to run the test and capture output
127127
def run_test():
128-
command = 'go test -timeout 30m -mod=readonly -buildvcs=false -tags "unit" ' +
129-
"--skip 'TestE2E*' -race -covermode atomic -coverprofile=windows-coverage.out ./npm/... ./cni/... ./platform/...;" +
130-
'go tool cover -func=windows-coverage.out'
128+
command = 'go test -timeout 30m -mod=readonly -buildvcs=false -tags "unit" '
129+
command += "--skip 'TestE2E*' -race -covermode atomic -coverprofile=windows-coverage.out ./npm/... ./cni/... ./platform/...; "
130+
command += 'go tool cover -func=windows-coverage.out'
131131
result = subprocess.run(command, capture_output=True, shell=True, text=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
132132
test_exit_code = result.returncode
133133

0 commit comments

Comments
 (0)