Commit ae9d1468 authored by Sean Erswell-Liljefelt's avatar Sean Erswell-Liljefelt
Browse files

fix(go_unit_test): switch expansion technique

parent 3071554d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -13,7 +13,7 @@ go_unit_test:
    # Install job dependencies
    - go get -u github.com/jstemmer/go-junit-report github.com/t-yuki/gocover-cobertura
    # Execute Unit tests to get both the junit report and a coverage file
    - "$UT_TEST_CMD" -coverprofile=coverage.out ./... 2>&1 | go-junit-report -set-exit-code > report.xml
    - ${UT_TEST_CMD} -coverprofile=coverage.out ./... 2>&1 | go-junit-report -set-exit-code > report.xml
    # Output the coverage to stdout for coverage regex to read
    - go tool cover -func=coverage.out
    # Capture coverage in cobertura format for MR highlighting