Skip to content

Commit 3f6bedd

Browse files
committed
move link where it's needed
1 parent 58a44f1 commit 3f6bedd

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
@@ -14,8 +14,6 @@ stages:
1414
- script: |
1515
set -e
1616
make tools
17-
sudo ln -s $(pwd)/build/tools/bin/gocov /usr/local/bin/gocov
18-
sudo ln -s $(pwd)/build/tools/bin/gocov-xml /usr/local/bin/gocov-xml
1917
2018
# run test, echo exit status code to fd 3, pipe output from test to tee, which splits output to stdout and go-junit-report (which converts test output to report.xml),
2119
# stdout from tee is redirected to fd 4. Take output written to fd 3 (which is the exit code of test), redirect to stdout, pipe to read from stdout then exit with that status code.
@@ -31,6 +29,8 @@ stages:
3129
name: "Test"
3230
displayName: "Run Tests"
3331
- bash: |
32+
sudo ln -s $(pwd)/build/tools/bin/gocov /usr/local/bin/gocov
33+
sudo ln -s $(pwd)/build/tools/bin/gocov-xml /usr/local/bin/gocov-xml
3434
gocov convert coverage-all.out > total_ut_coverage.json
3535
gocov-xml < total_ut_coverage.json > total_ut_coverage.xml
3636
name: "Coverage"

0 commit comments

Comments
 (0)