Skip to content

Commit 3d4a9c6

Browse files
committed
fixup! Edit Pipeline Trigger
1 parent 7ce8861 commit 3d4a9c6

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,14 +141,15 @@ stages:
141141
142142
command = 'go tool cover -func=windows-coverage.out'
143143
result = subprocess.Popen(command, shell=True, text=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE, cwd=cwd)
144-
out, err = testing_process.communicate()
144+
out, err = result.communicate()
145145
print("Out:")
146146
print(out)
147147
print("Error:")
148148
print(err)
149-
test_exit_code = result.returncode
149+
print(result)
150150
print(test_exit_code)
151151
print(os.listdir(cwd))
152+
test_exit_code = result.returncode
152153
153154
cov_out = os.path.join(cwd, 'windows-coverage.out')
154155
# Write output to report XML using go-junit-report

0 commit comments

Comments
 (0)