Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mahesh-hpe committed Jan 3, 2024
1 parent b016658 commit 0fb4c96
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/reusable-dev-acc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,11 @@ jobs:
run: |
echo "Run Date: $(date +'%Y-%m-%d Time: %H:%M:%S %z' )" >> "$LOG_FILE"
JOB_FAILED=false
if [[ -z "${{ inputs.test_case }}" ]]; then
export TF_ACC_TEST_PATH="$(pwd)/${{ inputs.test_case_folder }}" && make acceptance >> "$LOG_FILE"
else
for t in ${{ inputs.test_case }}; do
if ! (export TF_ACC_TEST_PATH="$(pwd)/${{ inputs.test_case_folder }}" && make acceptance case="$t" >> "$LOG_FILE")
then
Expand All @@ -82,8 +86,6 @@ jobs:
fi
done
if $JOB_FAILED; then exit 1; fi
else
export TF_ACC_TEST_PATH="$(pwd)/${{ inputs.test_case_folder }}" && make acceptance >> "$LOG_FILE"
fi
Expand Down

0 comments on commit 0fb4c96

Please sign in to comment.