Skip to content

Commit

Permalink
Fix actions.preTest isn't generated when Shards are used (#1395)
Browse files Browse the repository at this point in the history
The actions.preTest logic was nested within the `Shards` logic so it was
only generated if `Shards` was configured
  • Loading branch information
corymhall authored Feb 20, 2025
1 parent 052228c commit 4345a91
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,9 @@ jobs:
if: matrix.testTarget == 'pulumiExamples'
run: cd examples && go test -v -count=1 -cover -timeout 2h -tags=${{ matrix.language }} -run TestPulumiExamples -parallel 4 .
#{{- else }}#
#{{- if .Config.Actions.PreTest }}#
#{{ .Config.Actions.PreTest | toYaml | indent 4 }}#
#{{- end }}#
- name: Generate test shards
run: |-
cd #{{ .Config.TestFolder }}#
Expand Down

0 comments on commit 4345a91

Please sign in to comment.