Skip to content

Commit 080237d

Browse files
committed
- Add tests
- Add gitignore - Update example module setup and name - Fix MODULE_DIRECTORIES error - Add tflint config
1 parent fe5b022 commit 080237d

File tree

1 file changed

+12
-9
lines changed

1 file changed

+12
-9
lines changed

.github/workflows/tests.yml

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -84,22 +84,25 @@ jobs:
8484
os: [ubuntu-latest]
8585
runs-on: ${{ matrix.os }}
8686
steps:
87+
- name: Checkout Code
88+
uses: actions/checkout@v4
89+
with:
90+
submodules: true
91+
8792
- name: Install Go
8893
uses: actions/setup-go@v5
8994
with:
9095
go-version: 1.23.x
9196

9297
- name: Run Tests
9398
working-directory: test/
94-
# env:
95-
# LOCALSTACK_AUTH_TOKEN: ${{ secrets.LOCALSTACK_AUTH_TOKEN }}
96-
run: |
97-
ls -la
98-
# go install github.com/gruntwork-io/terratest/cmd/terratest_log_parser@latest
99-
100-
# go mod tidy
101-
# go test -v -timeout 60m -coverprofile=coverage-examples-complete.out -race -covermode=atomic | tee test_output.log
102-
# terratest_log_parser -testlog test_output.log -outputdir results
99+
env:
100+
LOCALSTACK_AUTH_TOKEN: ${{ secrets.LOCALSTACK_AUTH_TOKEN }}
101+
run: |
102+
go install github.com/gruntwork-io/terratest/cmd/terratest_log_parser@latest
103+
go mod tidy
104+
go test -v -timeout 60m -coverprofile=coverage-examples-complete.out -race -covermode=atomic | tee test_output.log
105+
terratest_log_parser -testlog test_output.log -outputdir results
103106
104107
- name: Test Summary
105108
uses: test-summary/action@v2

0 commit comments

Comments
 (0)