From 1cf43a5a2d7a90c53e2e64ba936e8a365d182e8b Mon Sep 17 00:00:00 2001 From: Jason Harley Date: Wed, 31 Jul 2024 08:13:25 -0400 Subject: [PATCH] really this time --- .github/workflows/ci.yaml | 36 ++++++++++++++++++++++++++++++++---- 1 file changed, 32 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index e7f4df4b..47d125f7 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -68,7 +68,14 @@ jobs: HONEYCOMB_KEY_ID: ${{ secrets.HONEYCOMB_KEY_ID }} HONEYCOMB_KEY_SECRET: ${{ secrets.HONEYCOMB_KEY_SECRET }} HONEYCOMB_DATASET: testacc - run: go test -v -coverprofile=client-coverage.txt -covermode=atomic ./client/... | go-junit-report -set-exit-code > client-report.xml + run: | + go test -v ./client/... \ + -coverprofile=client-coverage.txt \ + -covermode=atomic | \ + go-junit-report \ + -set-exit-code \ + -iocopy \ + -out client-report.xml - uses: hashicorp/setup-terraform@v3 with: @@ -84,7 +91,14 @@ jobs: HONEYCOMB_DATASET: testacc TF_ACC: 1 TF_ACC_TERRAFORM_VERSION: ${{ env.TERRAFORM_VERSION }} - run: go test -v -coverprofile=tf-coverage.txt -covermode=atomic ./internal/... ./honeycombio/... | go-junit-report -set-exit-code > provider-report.xml + run: | + go test -v ./internal/... ./honeycombio/... \ + -coverprofile=tf-coverage.txt \ + -covermode=atomic | \ + go-junit-report \ + -set-exit-code \ + -iocopy \ + -out provider-report.xml - name: Cleanup Dangling Resources if: ${{ always() }} @@ -144,7 +158,14 @@ jobs: HONEYCOMB_KEY_ID: ${{ secrets.HONEYCOMB_KEY_ID_EU }} HONEYCOMB_KEY_SECRET: ${{ secrets.HONEYCOMB_KEY_SECRET_EU }} HONEYCOMB_DATASET: testacc - run: go test -v -coverprofile=client-coverage.txt -covermode=atomic ./client/... | go-junit-report -iocopy -set-exit-code > client-report.xml + run: | + go test -v ./client/... \ + -coverprofile=client-coverage.txt \ + -covermode=atomic | \ + go-junit-report \ + -set-exit-code \ + -iocopy \ + -out client-report.xml - uses: hashicorp/setup-terraform@v3 with: @@ -161,7 +182,14 @@ jobs: HONEYCOMB_DATASET: testacc TF_ACC: 1 TF_ACC_TERRAFORM_VERSION: ${{ env.TERRAFORM_VERSION }} - run: go test -v -coverprofile=tf-coverage.txt -covermode=atomic ./internal/... ./honeycombio/... | go-junit-report -iocopy -set-exit-code > provider-report.xml + run: | + go test -v ./internal/... ./honeycombio/... \ + -coverprofile=tf-coverage.txt \ + -covermode=atomic | \ + go-junit-report \ + -set-exit-code \ + -iocopy \ + -out provider-report.xml - name: Cleanup Dangling Resources if: ${{ always() }}