mirror of
https://github.com/oauth2-proxy/oauth2-proxy.git
synced 2025-03-27 22:01:28 +02:00
Fix name of test report ID variable
This commit is contained in:
parent
f705d2b5d3
commit
7861a707cd
8
test.sh
8
test.sh
@ -2,8 +2,8 @@
|
|||||||
# manually exiting from script, because after-build needs to run always
|
# manually exiting from script, because after-build needs to run always
|
||||||
set +e
|
set +e
|
||||||
|
|
||||||
if [ -z $CC_TEST_REPORT_ID ]; then
|
if [ -z $CC_TEST_REPORTER_ID ]; then
|
||||||
echo "1. CC_TEST_REPORT_ID is unset, skipping"
|
echo "1. CC_TEST_REPORTER_ID is unset, skipping"
|
||||||
else
|
else
|
||||||
echo "1. Running before-build"
|
echo "1. Running before-build"
|
||||||
./cc-test-reporter before-build
|
./cc-test-reporter before-build
|
||||||
@ -14,8 +14,8 @@ make test
|
|||||||
TEST_STATUS=$?
|
TEST_STATUS=$?
|
||||||
echo "TEST_STATUS: ${TEST_STATUS}"
|
echo "TEST_STATUS: ${TEST_STATUS}"
|
||||||
|
|
||||||
if [ -z $CC_TEST_REPORT_ID ]; then
|
if [ -z $CC_TEST_REPORTER_ID ]; then
|
||||||
echo "3. CC_TEST_REPORT_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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user