diff --git a/.github/workflows/dev-acc.yml b/.github/workflows/dev-acc.yml index 98f1746d..cb2192ef 100644 --- a/.github/workflows/dev-acc.yml +++ b/.github/workflows/dev-acc.yml @@ -54,9 +54,11 @@ jobs: for t in ${{ github.event.inputs.test_case }}; do export TF_ACC_TEST_PATH="$(pwd)/acc-dev-testcases" && make acceptance case="$t" >> "$LOG_FILE"; done - name: Print testcases output + if: always() run: cat $LOG_FILE - name: Push the report to github artifacts + if: always() uses: actions/upload-artifact@v3 with: name: "Terraform Test report- ${{ github.event.inputs.test_case }}" diff --git a/.github/workflows/reusable-dev-acc.yml b/.github/workflows/reusable-dev-acc.yml index ce0ffd7d..ece60f86 100644 --- a/.github/workflows/reusable-dev-acc.yml +++ b/.github/workflows/reusable-dev-acc.yml @@ -73,9 +73,11 @@ jobs: - name: Print testcases output + if: always() run: cat $LOG_FILE - name: Push the report to github artifacts + if: always() uses: actions/upload-artifact@v3 with: name: "Terraform Test report- ${{ inputs.test_case }}"