Skip to content

Commit

Permalink
ci: fix e2e tests for Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
phm07 committed Nov 2, 2023
1 parent 26d01ff commit f44d26e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:

- uses: hetznercloud/tps-action@main

- run: echo "PACKER_PLUGIN_PATH=%APPDATA%\packer.d\plugins" >> $GITHUB_ENV
- run: echo "BINARY=packer-plugin-hcloud.exe" >> $GITHUB_ENV
if: runner.os == 'Windows'

- run: make testacc
8 changes: 1 addition & 7 deletions GNUmakefile
Original file line number Diff line number Diff line change
@@ -1,11 +1,5 @@
NAME=hcloud
BINARY=packer-plugin-${NAME}

ifdef PACKER_PLUGIN_PATH
PACKER_PLUGIN_PATH := $(PACKER_PLUGIN_PATH)
else
PACKER_PLUGIN_PATH := ~/.config/packer/plugins
endif
BINARY?=packer-plugin-${NAME}

COUNT?=1
TEST?=./...
Expand Down

0 comments on commit f44d26e

Please sign in to comment.