nit: remove stale warning output

This commit is contained in:
Whisperity
2021-11-28 16:12:49 +01:00
parent 88af3af3c9
commit 6d2fc77005
2 changed files with 1 additions and 5 deletions

View File

@@ -59,7 +59,7 @@ jobs:
logfile: ${{ matrix.logfile }} logfile: ${{ matrix.logfile }}
build-command: ${{ matrix.build-command }} build-command: ${{ matrix.build-command }}
analyze-output: ${{ matrix.analyze-output }} analyze-output: ${{ matrix.analyze-output }}
- name: "Reject test if previous step did not fail" - name: "Check and reject job if previous test should have failed, but did not"
if: ${{ steps.codechecker.continue-on-error && steps.codechecker.outcome != 'failure' }} if: ${{ steps.codechecker.continue-on-error && steps.codechecker.outcome != 'failure' }}
run: | run: |
echo "::error title=Step with expected failure passed::" echo "::error title=Step with expected failure passed::"

View File

@@ -44,10 +44,6 @@ echo "::set-output name=OUTPUT_LOG::$OUTPUT_LOG"
if [[ "$EXIT_CODE" == "2" ]]; then if [[ "$EXIT_CODE" == "2" ]]; then
echo "::set-output name=HAS_FINDINGS::true" echo "::set-output name=HAS_FINDINGS::true"
if [[ "$IN_FAIL_IF_REPORTS" == "true" ]]; then
echo "::notice title=Static analysis suppressed::CodeChecker static analyser found bug reports, but the build job is configured to suppress it."
fi
# Let the jobs continue. If there were failures, the action script will break # Let the jobs continue. If there were failures, the action script will break
# the build in a later step. (After a potential upload to server.) # the build in a later step. (After a potential upload to server.)
EXIT_CODE=0 EXIT_CODE=0