1
0
mirror of https://github.com/oauth2-proxy/oauth2-proxy.git synced 2025-04-21 12:17:22 +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" echo "2. Running test"
make test make test
TEST_STATUS=$? TEST_STATUS=$?
echo "TEST_STATUS: ${TEST_STATUS}"
if [ -z $CC_TEST_REPORTER_ID ]; then if [ -z $CC_TEST_REPORTER_ID ]; then
echo "3. CC_TEST_REPORTER_ID is unset, skipping" echo "3. CC_TEST_REPORTER_ID is unset, skipping"
else else
echo "3. Running after-build" 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 fi
if [ "$TEST_STATUS" -ne 0 ]; then if [ "$TEST_STATUS" -ne 0 ]; then