Skip to content

Commit

Permalink
Update github actions workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
sergiught committed Feb 21, 2023
1 parent b959e21 commit d80d752
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 3 deletions.
1 change: 1 addition & 0 deletions .github/workflows/e2e-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ jobs:
uses: actions/setup-go@v3
with:
go-version-file: go.mod
check-latest: true

- name: Run tests
run: make test-acc-e2e
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ jobs:
uses: actions/setup-go@v3
with:
go-version-file: go.mod
check-latest: true

- name: Check that docs were generated
run: make check-docs
Expand All @@ -42,9 +43,10 @@ jobs:
uses: actions/setup-go@v3
with:
go-version-file: go.mod
check-latest: true

- name: Run tests
run: make test
run: make test-acc

- name: Update codecov report
uses: codecov/codecov-action@v3
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ jobs:
uses: actions/setup-go@v3
with:
go-version-file: go.mod
check-latest: true

- name: Import GPG key
id: import_gpg
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/sweep.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ jobs:
uses: actions/setup-go@v3
with:
go-version-file: go.mod
check-latest: true

- name: Sweep
run: make test-sweep
Expand Down
2 changes: 0 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,6 @@ check-vuln: ## Check go vulnerabilities
#-----------------------------------------------------------------------------------------------------------------------
.PHONY: test test-unit test-acc test-sweep

test: test-unit test-acc ## Run all tests

test-unit: ## Run unit tests. To run a specific test, pass the FILTER var. Usage `make test-unit FILTER="TestAccResourceServer`
${call print, "Running unit tests"}
@TF_ACC= \
Expand Down

0 comments on commit d80d752

Please sign in to comment.