1
0
mirror of https://github.com/oauth2-proxy/oauth2-proxy.git synced 2025-03-23 21:50:48 +02:00

Fix name of test report ID variable

This commit is contained in:
Joel Speed 2020-10-07 18:08:16 +01:00
parent f705d2b5d3
commit 7861a707cd
No known key found for this signature in database
GPG Key ID: 6E80578D6751DEFB

View File

@ -2,8 +2,8 @@
# manually exiting from script, because after-build needs to run always
set +e
if [ -z $CC_TEST_REPORT_ID ]; then
echo "1. CC_TEST_REPORT_ID is unset, skipping"
if [ -z $CC_TEST_REPORTER_ID ]; then
echo "1. CC_TEST_REPORTER_ID is unset, skipping"
else
echo "1. Running before-build"
./cc-test-reporter before-build
@ -14,8 +14,8 @@ make test
TEST_STATUS=$?
echo "TEST_STATUS: ${TEST_STATUS}"
if [ -z $CC_TEST_REPORT_ID ]; then
echo "3. CC_TEST_REPORT_ID is unset, skipping"
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