1
0
mirror of https://github.com/oauth2-proxy/oauth2-proxy.git synced 2025-01-08 04:03:58 +02:00

Fix coverage file path recognition

This commit is contained in:
Joel Speed 2020-10-07 18:22:38 +01:00
parent b848663a3d
commit 70c585812e
No known key found for this signature in database
GPG Key ID: 6E80578D6751DEFB

View File

@ -12,13 +12,12 @@ fi
echo "2. Running test"
make test
TEST_STATUS=$?
echo "TEST_STATUS: ${TEST_STATUS}"
if [ -z $CC_TEST_REPORTER_ID ]; then
echo "3. CC_TEST_REPORTER_ID is unset, skipping"
else
echo "3. Running after-build"
./cc-test-reporter after-build --exit-code $TEST_STATUS -t gocov
./cc-test-reporter after-build --exit-code $TEST_STATUS -t gocov --prefix $(basename $(go list -m))
fi
if [ "$TEST_STATUS" -ne 0 ]; then