Skip to content

Commit

Permalink
feat: add integration test
Browse files Browse the repository at this point in the history
  • Loading branch information
matt-FFFFFF committed Feb 26, 2025
1 parent 2ffd474 commit 0054b7b
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions avmmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -63,10 +63,17 @@ pr-check: env-backup fmtcheck docscheck tfvalidatecheck lint run-unit-test env-r
.PHONY: unit-test
unit-test: env-backup run-unit-test env-restore

.PHONY: integration-test
unit-test: env-backup run-unit-test env-restore

.PHONY: run-unit-test
run-unit-test:
curl -H 'Cache-Control: no-cache, no-store' -sSL "$(REMOTE_SCRIPT)/run-terraform-test.sh" | bash -s -- unit

.PHONY: run-integration-test
run-unit-test:
curl -H 'Cache-Control: no-cache, no-store' -sSL "$(REMOTE_SCRIPT)/run-terraform-test.sh" | bash -s -- integration

.PHONY: test-example
test-example:
curl -H 'Cache-Control: no-cache, no-store' -sSL "$(REMOTE_SCRIPT)/test-example.sh" | bash
Expand Down

0 comments on commit 0054b7b

Please sign in to comment.