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:
parent
b848663a3d
commit
70c585812e
3
.github/workflows/test.sh
vendored
3
.github/workflows/test.sh
vendored
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user