Skip to content

Commit 6a82bb6

Browse files
committed
fixup! Require one of kubeconfig_path or kubeconfig_raw fix #90
1 parent 33b4479 commit 6a82bb6

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

.github/workflows/main.yml

+4-5
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,10 @@ jobs:
4242
- name: 'Run TF unit tests (${{ matrix.runner }})'
4343
if: startsWith(matrix.runner, 'ubuntu-') == false
4444
env:
45-
# provider requires KUBECONFIG_PATH to be set
46-
# but we don't have or need a kubeconfig
47-
# to run unit tests on windows and mac
48-
KUBECONFIG_PATH: ""
49-
run: go test -v ./kustomize
45+
KUBECONFIG_PATH: ./emptykubeconfig
46+
run: |
47+
kubectl config view > $KUBECONFIG_PATH
48+
go test -v ./kustomize
5049
5150
compile_provider:
5251
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)