Skip to content

Commit a6edd0f

Browse files
Revert "test test"
This reverts commit 3de944f.
1 parent 1dc6729 commit a6edd0f

File tree

3 files changed

+3
-78
lines changed

3 files changed

+3
-78
lines changed

.github/workflows/acceptance-tests.yml

Lines changed: 2 additions & 21 deletions
Original file line numberDiff line numberDiff 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

cloudsmith/resource_repository_upstream_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ resource "cloudsmith_repository" "test" {
133133
}
134134
135135
resource "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

scripts/run-acc-tests.sh

Lines changed: 0 additions & 56 deletions
This file was deleted.

0 commit comments

Comments
 (0)