Skip to content

Commit

Permalink
Stop overwriting the test results from the different families (normal…
Browse files Browse the repository at this point in the history
…, -race, -fips) (hashicorp#20959)
  • Loading branch information
ncabatoff authored Jun 2, 2023
1 parent 5a987c0 commit 43d482e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,7 @@ jobs:
go-build-tags: ${{ needs.setup.outputs.go-build-tags }}
runs-on: ${{ needs.setup.outputs.compute-huge }}
enterprise: ${{ needs.setup.outputs.enterprise }}
name: "-race"
secrets: inherit
test-go-fips:
name: Run Go tests with FIPS configuration
Expand All @@ -188,6 +189,7 @@ jobs:
go-build-tags: '${{ needs.setup.outputs.go-build-tags }},deadlock,cgo,fips,fips_140_2'
runs-on: ${{ needs.setup.outputs.compute-larger }}
enterprise: ${{ needs.setup.outputs.enterprise }}
name: "-fips"
secrets: inherit
test-ui:
name: Test UI
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/test-go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,11 @@ on:
description: A comma-separated list of additional build tags to consider satisfied during the build.
required: false
type: string
name:
description: A suffix to append to archived test results
required: false
default: ''
type: string

env: ${{ fromJSON(inputs.env-vars) }}

Expand Down Expand Up @@ -207,7 +212,7 @@ jobs:
- name: Archive test results
uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3.1.2
with:
name: test-results-${{ matrix.runner-index }}
name: test-results${{ inputs.name }}-${{ matrix.runner-index }}
path: test-results/
if: always()
- name: Create a summary of tests
Expand Down

0 comments on commit 43d482e

Please sign in to comment.