mirror of
https://github.com/whisperity/CodeChecker-Action.git
synced 2026-02-10 07:05:10 +00:00
nit: remove stale warning output
This commit is contained in:
2
.github/workflows/test.yml
vendored
2
.github/workflows/test.yml
vendored
@@ -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::"
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user