Necessary warnings test (#5206)

* test run warnings test

* fix dependency

* fail on warnings is now necessary
This commit is contained in:
Denis Pisarev
2020-03-10 13:59:26 +01:00
committed by GitHub
parent 3429967122
commit def94f012e
+3 -3
View File
@@ -365,8 +365,9 @@ check_warnings:
- $DEPLOY_TAG - $DEPLOY_TAG
variables: variables:
GIT_STRATEGY: none GIT_STRATEGY: none
dependencies: needs:
- test-linux-stable - job: test-linux-stable
artifacts: true
script: script:
- if [ -s ${CI_COMMIT_SHORT_SHA}_warnings.log ]; then - if [ -s ${CI_COMMIT_SHORT_SHA}_warnings.log ]; then
cat ${CI_COMMIT_SHORT_SHA}_warnings.log; cat ${CI_COMMIT_SHORT_SHA}_warnings.log;
@@ -374,7 +375,6 @@ check_warnings:
else else
echo "___No warnings___"; echo "___No warnings___";
fi fi
allow_failure: true
# Nightly check whether Polkadot 'master' branch builds. # Nightly check whether Polkadot 'master' branch builds.
check_polkadot: check_polkadot: