From c156133f43cf0e7c85b4367e9523e99e7ec5e54e Mon Sep 17 00:00:00 2001 From: Ilia Kargapolov Date: Thu, 12 Sep 2024 16:00:36 +0200 Subject: [PATCH] Publish test result --- .github/workflows/terraform.yml | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/.github/workflows/terraform.yml b/.github/workflows/terraform.yml index 28707436..4f8fa730 100644 --- a/.github/workflows/terraform.yml +++ b/.github/workflows/terraform.yml @@ -55,14 +55,12 @@ jobs: - name: Terraform Format run: terraform fmt -check -recursive . ../modules - # Validate terraform code - - name: Terraform Validate - run: terraform validate - - # Generates an execution plan for Terraform - - name: Terraform Plan - run: terraform plan -input=false - # Run Terraform Tests - name: Terraform Test - run: terraform test -junit-xml=results.xml + run: terraform test -verbose -junit-xml=TEST-result.xml + + - name: Test Summary + uses: test-summary/action@v2 + with: + paths: "${{ matrix.solution.name }}/TEST-result.xml" + if: always()