Skip to content

Commit

Permalink
Remove integrationTestProvider option
Browse files Browse the repository at this point in the history
  • Loading branch information
blampe committed Dec 11, 2024
1 parent 96974a2 commit f2f1e65
Show file tree
Hide file tree
Showing 7 changed files with 0 additions and 34 deletions.
4 changes: 0 additions & 4 deletions provider-ci/internal/pkg/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -129,10 +129,6 @@ type Config struct {
// https://github.com/search?q=org%3Apulumi+path%3A.ci-mgmt.yaml+%22extraTests%3A%22&type=code
ExtraTests map[string]any `yaml:"extraTests"` // Only used by AWS...

// IntegrationTestProvider will run e2e tests in the provider as well as in
// the examples directory when set to true. Defaults to false.
IntegrationTestProvider bool `yaml:"integrationTestProvider"`

// TestPulumiExamples runs e2e tests using the examples and test suite in
// the pulumi/examples repo when set to true. Defaults to false. This is
// unused but potentially useful for azure-native onboarding:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -216,11 +216,6 @@ jobs:
#{{- if .Config.Actions.PreTest }}#
#{{ .Config.Actions.PreTest | toYaml | indent 4 }}#
#{{- end }}#
#{{- if .Config.IntegrationTestProvider }}#
- name: Run provider tests
working-directory: provider
run: go test -v -count=1 -cover -timeout 2h -tags=${{ matrix.language }} -parallel 4
#{{- end }}#
- name: Run tests
run: cd examples && go test -v -count=1 -cover -timeout 2h -tags=${{ matrix.language }} -parallel 4
strategy:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -124,12 +124,6 @@ jobs:
#{{- if .Config.Actions.PreTest }}#
#{{ .Config.Actions.PreTest | toYaml | indent 4 }}#
#{{- end }}#
#{{- if .Config.IntegrationTestProvider }}#
- name: Run provider tests
if: matrix.testTarget == 'local'
working-directory: provider
run: go test -v -count=1 -cover -timeout 2h -tags=${{ matrix.language }} -parallel 4 .
#{{- end }}#
- name: Run tests
run: cd examples && go test -v -count=1 -cover -timeout 2h -tags=${{ matrix.language }} -parallel 4
strategy:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -154,11 +154,6 @@ jobs:
#{{- if .Config.Actions.PreTest }}#
#{{ .Config.Actions.PreTest | toYaml | indent 4 }}#
#{{- end }}#
#{{- if .Config.IntegrationTestProvider }}#
- name: Run provider tests
working-directory: provider
run: go test -v -count=1 -cover -timeout 2h -tags=${{ matrix.language }} -parallel 4 .
#{{- end }}#
- name: Run tests
run: cd examples && go test -v -count=1 -cover -timeout 2h -tags=${{ matrix.language }} -parallel 4 .
strategy:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -163,11 +163,6 @@ jobs:
#{{- if .Config.Actions.PreTest }}#
#{{ .Config.Actions.PreTest | toYaml | indent 4 }}#
#{{- end }}#
#{{- if .Config.IntegrationTestProvider }}#
- name: Run provider tests
working-directory: provider
run: go test -v -count=1 -cover -timeout 2h -tags=${{ matrix.language }} -parallel 4 .
#{{- end }}#
- name: Run tests
run: cd examples && go test -v -count=1 -cover -timeout 2h -tags=${{ matrix.language }} -parallel 4 .
strategy:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -211,12 +211,6 @@ jobs:
#{{- if .Config.Actions.PreTest }}#
#{{ .Config.Actions.PreTest | toYaml | indent 4 }}#
#{{- end }}#
#{{- if .Config.IntegrationTestProvider }}#
- name: Run provider tests
if: matrix.testTarget == 'local'
working-directory: provider
run: go test -v -count=1 -cover -timeout 2h -tags=${{ matrix.language }} -parallel 4 .
#{{- end }}#
- name: Run tests
if: matrix.testTarget == 'local'
run: cd examples && go test -v -count=1 -cover -timeout 2h -tags=${{ matrix.language }} -skip TestPulumiExamples -parallel 4 .
Expand Down
3 changes: 0 additions & 3 deletions provider-ci/internal/pkg/templates/defaults.config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -142,9 +142,6 @@ extraTests:
# name: My Test
# ...

# Run e2e tests in the provider as well as in the examples directory
integrationTestProvider: false

# Run e2e tests using the examples and test suite in the pulumi/examples repo.
# This is unused: https://github.com/search?q=org%3Apulumi+path%3A.ci-mgmt.yaml+%22testPulumiExamples%3A%22&type=code
testPulumiExamples: false
Expand Down

0 comments on commit f2f1e65

Please sign in to comment.