Skip to content

Commit 5c7633e

Browse files
committed
fixup! Edit Pipeline Trigger
1 parent 5a1fbda commit 5c7633e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,14 +123,14 @@ stages:
123123
open(report_xml, 'a').close()
124124
125125
# Run make tools
126-
subprocess.run('make tools', capture_output=True, shell=True, text=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
126+
subprocess.run('make tools', shell=True, text=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
127127
128128
# Function to run the test and capture output
129129
def run_test():
130130
command = 'go test -timeout 30m -mod=readonly -buildvcs=false -tags "unit" '
131131
command += "--skip 'TestE2E*' -race -covermode atomic -coverprofile=windows-coverage.out ./npm/... ./cni/... ./platform/...; "
132132
command += 'go tool cover -func=windows-coverage.out'
133-
result = subprocess.run(command, capture_output=True, shell=True, text=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
133+
result = subprocess.run(command, shell=True, text=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
134134
test_exit_code = result.returncode
135135
136136
# Write output to report XML using go-junit-report

0 commit comments

Comments
 (0)