Skip to content

Commit 6a5fd26

Browse files
committed
Add some more debugging echos
1 parent cca78ff commit 6a5fd26

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/actions/test_analyze_project/action.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ runs:
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

0 commit comments

Comments
 (0)