Skip to content

Commit

Permalink
Install plugin during testing
Browse files Browse the repository at this point in the history
  • Loading branch information
torarnv committed Sep 11, 2024
1 parent e978b4d commit 2e52a56
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ docs-partials/
docs.zip
vendor/
version.go
.install/
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ check: plugin-check acceptance-test

acceptance-test: export PKR_VAR_appledb_test_path = $(PROJECT_DIR)/datasource/test-fixtures/
acceptance-test: export PACKER_ACC = 1
acceptance-test: export PACKER_PLUGIN_PATH = $(PROJECT_DIR)
acceptance-test: build
acceptance-test: export PACKER_PLUGIN_PATH = $(PROJECT_DIR)/.install
acceptance-test: install
@go test -count 1 -v $(shell find . | grep _test.go) -timeout=120m

plugin-check: build
Expand Down

0 comments on commit 2e52a56

Please sign in to comment.