chore: modify test action

[skip ci]
This commit is contained in:
Marcel S. Henselin 2026-03-26 13:36:38 +01:00
parent 2893a11c0a
commit d91367909a

View file

@ -229,6 +229,7 @@ runs:
go test -v ${testfile} -timeout=${{ inputs.test_timeout_string }} | tee -a acc_test_run.log
echo "::endgroup::"
set -e
echo "::endgroup::"
echo "::group::go test result"
if [ $? -ne 0 ]; then
echo "Test failed, see acc_test_run.log for details"
@ -246,19 +247,9 @@ runs:
TF_ACC_KEK_KEY_VERSION: ${{ inputs.tf_acc_kek_key_version }}
TF_ACC_KEK_SERVICE_ACCOUNT: ${{ inputs.tf_acc_kek_service_account }}
- name: Artifact upload start
shell: bash
run: |
echo "::group::artifact upload"
- name: Upload test log artifact
if: always()
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: acc_test.log
path: "stackit/acc_test_run.log"
- name: Artifact upload finish
shell: bash
run: |
echo "::endgroup::"