Skip to content

Commit 4780e09

Browse files
committed
fixup! Edit Pipeline Trigger
1 parent a70d12b commit 4780e09

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

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

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -192,16 +192,13 @@ stages:
192192
junit_file = os.environ['REPORT_XML']
193193
junit_xml = os.path.join(report_dir, junit_file)
194194
195-
# Set the GOBIN environment variable
196-
os.environ['GOBIN'] = BIN_INSTALL_DIR
197-
198195
# Install gocov and gocov-xml
199196
subprocess.run(['go', 'install', 'github.com/axw/gocov/gocov@latest'], check=True)
200197
subprocess.run(['go', 'install', 'github.com/AlekSi/gocov-xml@latest'], check=True)
201198
202199
# Define the paths to the installed binaries
203-
GOCOV_BIN = os.path.join(bin_install_dir, 'gocov')
204-
GOCOV_XML_BIN = os.path.join(bin_install_dir, 'gocov-xml')
200+
gocov_bin = os.path.join(bin_install_dir, 'gocov')
201+
gocov_xml_bin = os.path.join(bin_install_dir, 'gocov-xml')
205202
206203
# Create the report directory if it doesn't exist
207204
os.makedirs(report_dir, exist_ok=True)

0 commit comments

Comments
 (0)