File tree Expand file tree Collapse file tree 3 files changed +3
-78
lines changed
Expand file tree Collapse file tree 3 files changed +3
-78
lines changed Original file line number Diff line number Diff line change @@ -22,32 +22,13 @@ jobs:
2222
2323 - uses : actions/checkout@v3
2424
25- - name : Install test helper (gotestsum)
25+ - name : Run tests
2626 run : |
27- echo "Installing gotestsum for selective test reruns"
28- go install gotest.tools/gotestsum@v1.12.0
29- env :
30- GOPATH : ${{ runner.temp }}/go
31- id : gotestsum
32-
33- - name : Run acceptance tests with reruns
34- run : |
35- chmod +x scripts/run-acc-tests.sh
36- PATH="${{ runner.temp }}/go/bin:$PATH" TF_ACC=1 CLOUDSMITH_NAMESPACE=terraform-provider-testing \
37- CLOUDSMITH_API_KEY='${{ secrets.CLOUDSMITH_API_KEY }}' \
38- ./scripts/run-acc-tests.sh
27+ TF_ACC=1 go test -v ./... -parallel=6 -timeout=30m
3928 env :
4029 CLOUDSMITH_API_KEY : ${{ secrets.CLOUDSMITH_API_KEY }}
4130 CLOUDSMITH_NAMESPACE : terraform-provider-testing
4231
43- - name : Upload test report
44- if : always()
45- uses : actions/upload-artifact@v4
46- with :
47- name : acceptance-test-report
48- path : test-report.xml
49- if-no-files-found : warn
50-
5132 - name : Notify Slack on Success
5233 if : success()
5334 uses : rtCamp/action-slack-notify@v2.0.2
Original file line number Diff line number Diff line change @@ -133,7 +133,7 @@ resource "cloudsmith_repository" "test" {
133133}
134134
135135resource "cloudsmith_repository_upstream" "ubuntu" {
136- distro_versions = ["ubuntu/trusty", "ubuntu/xenial" ]
136+ distro_versions = ["ubuntu/trusty"]
137137 namespace = cloudsmith_repository.test.namespace
138138 repository = cloudsmith_repository.test.slug
139139 name = cloudsmith_repository.test.name
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments