File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed
.github/actions/test_analyze_project Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change 1919 run : |
2020 echo "project-directory: ${{ inputs.project-directory }}"
2121 echo "expect-failure: ${{ inputs.expect-failure }}"
22+ echo "continue-on-error??: ${{ inputs.expect-failure == 'true' }}"
2223 shell : bash
2324 - name : Analyze project
2425 uses : ni/python-actions/analyze-project@36f9be52791272a313ccda38ac90742941770e6c
@@ -28,12 +29,16 @@ runs:
2829 project-directory : ${{ inputs.project-directory }}
2930 - name : Check expected outcome
3031 run : |
32+ echo "Beginning check expected outcome"
3133 if [[ "${{ inputs.expect-failure }}" == "true" ]]; then
34+ echo "Expecting failures"
3235 if [[ "${{ steps.analyze-project.outcome }}" != "failure" ]]; then
3336 echo "::error title=Test Failure::Expected analyze-project to fail, but it succeeded."
3437 exit 1
3538 else
3639 echo "::notice title=Test Success::analyze-project failed as expected."
3740 fi
41+ else
42+ echo "Not expecting failures"
3843 fi
3944 shell : bash
You can’t perform that action at this time.
0 commit comments