Skip to content

Commit

Permalink
publish test report for arm,bicep e2e tests
Browse files Browse the repository at this point in the history
  • Loading branch information
maniSbindra committed Mar 21, 2024
1 parent 77fb9c1 commit 148109f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 11 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/az-mpf-e2e-arm-bicep.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,17 +53,17 @@ jobs:
export MPF_BICEPEXECPATH=/usr/local/bin/bicep
go install github.com/jstemmer/go-junit-report@latest
go test ./e2eTests -v -run TestARM TestBicep | tee TestResults-${{ matrix.go-version }}.txt
# | go-junit-report -set-exit-code > TestResults-${{ matrix.go-version }}.xml
cat TestResults-${{ matrix.go-version }}.txt | go-junit-report -set-exit-code > TestResults-${{ matrix.go-version }}.xml
- name: Upload Go test results
uses: actions/upload-artifact@v4
with:
name: Go-results-${{ matrix.go-version }}
path: TestResults-${{ matrix.go-version }}.txt
path: TestResults-${{ matrix.go-version }}.xml

# - name: Test Summary
# uses: test-summary/action@v1
# with:
# paths: |
# TestResults-${{ matrix.go-version }}.xml
# if: always()
- name: Test Summary
uses: test-summary/action@v1
with:
paths: |
TestResults-${{ matrix.go-version }}.xml
if: always()
3 changes: 0 additions & 3 deletions .github/workflows/az-mpf-e2e-terraform.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,12 +55,9 @@ jobs:

- name: Test with Go
run: |
# cd e2eTests
which terraform
export MPF_TFPATH="/usr/local/bin/terraform"
$MPF_TFPATH --version
# pwd
# find .
go install github.com/jstemmer/go-junit-report@latest
go test ./e2eTests -v -timeout 20m -run TestTerraform | tee TestResults-${{ matrix.go-version }}.txt
cat TestResults-${{ matrix.go-version }}.txt | go-junit-report -set-exit-code > TestResults-${{ matrix.go-version }}.xml
Expand Down

0 comments on commit 148109f

Please sign in to comment.