Fix coverage file path recognition
commit70c585812e338a9ac48bfcdbbda5b13c01a9e2dc
authorJoel Speed <joel.speed@hotmail.co.uk>
dateWed 7 Oct 2020, 18:22 (6 years ago)
parentb848663
.github/workflows/test.sh+1−2
@@ -12,13 +12,12 @@ fi
1212echo "2. Running test"
1313make test
1414TEST_STATUS=$?
15−echo "TEST_STATUS: ${TEST_STATUS}"
1615
1716if [ -z $CC_TEST_REPORTER_ID ]; then
1817 echo "3. CC_TEST_REPORTER_ID is unset, skipping"
1918else
2019 echo "3. Running after-build"
21− ./cc-test-reporter after-build --exit-code $TEST_STATUS -t gocov
20+ ./cc-test-reporter after-build --exit-code $TEST_STATUS -t gocov --prefix $(basename $(go list -m))
2221fi
2322
2423if [ "$TEST_STATUS" -ne 0 ]; then