chore: modify test action
[skip ci]
This commit is contained in:
parent
2893a11c0a
commit
d91367909a
1 changed files with 2 additions and 11 deletions
13
.github/actions/acc_test/action.yaml
vendored
13
.github/actions/acc_test/action.yaml
vendored
|
|
@ -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::"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue