Skip to content

Commit

Permalink
misc: fix location of the temp acc test log file on any OS runner
Browse files Browse the repository at this point in the history
Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
  • Loading branch information
bpg committed Jun 25, 2024
1 parent 86a39f6 commit 2571978
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/testacc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,11 +74,11 @@ jobs:
PROXMOX_VE_ACC_CLOUD_IMAGES_SERVER: ${{ secrets.PROXMOX_VE_ACC_CLOUD_IMAGES_SERVER }}
PROXMOX_VE_ACC_CONTAINER_IMAGES_SERVER: ${{ secrets.PROXMOX_VE_ACC_CONTAINER_IMAGES_SERVER }}
run:
go test -json --timeout=30m --tags=acceptance -count=1 -v github.com/bpg/terraform-provider-proxmox/fwprovider/... 2>&1 | tee ${{ env.TMPDIR }}/gotest-${{ matrix.os }}.log | gotestfmt -hide empty-packages
go test -json --timeout=30m --tags=acceptance -count=1 -v github.com/bpg/terraform-provider-proxmox/fwprovider/... 2>&1 | tee ${{ runner.temp }}/gotest-${{ matrix.os }}.log | gotestfmt -hide empty-packages

- name: Upload test log
uses: actions/upload-artifact@v4
if: always()
with:
name: test-log
path: ${{ env.TMPDIR }}/gotest-${{ matrix.os }}.log
path: ${{ runner.temp }}/gotest-${{ matrix.os }}.log

0 comments on commit 2571978

Please sign in to comment.