Skip to content

Commit

Permalink
Test other modules on all platforms
Browse files Browse the repository at this point in the history
  • Loading branch information
KnVerey committed Apr 5, 2022
1 parent ea19332 commit 204f3e2
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,9 @@ jobs:
run: go test -cover ./...
working-directory: ./kustomize

- name: Test other modules
run: make test-unit-non-plugin

test-macos:
name: Test MacOS
runs-on: [macos-latest]
Expand Down Expand Up @@ -94,6 +97,9 @@ jobs:
run: go test -cover ./...
working-directory: ./kustomize

- name: Test other modules
run: make test-unit-non-plugin

test-windows:
name: Test Windows
runs-on: [windows-latest]
Expand Down Expand Up @@ -127,3 +133,6 @@ jobs:
# - name: Test kustomize
# run: go test -cover ./...
# working-directory: ./kustomize

- name: Test other modules
run: make test-unit-non-plugin
7 changes: 2 additions & 5 deletions cmd/pluginator/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,13 @@ include ../../Makefile-modules.mk

all: test build

statik:
go get github.com/rakyll/statik

test: generate
go test ./...

generate: statik
generate: $(MYGOBIN)/statik
( \
cd internal/krmfunction; \
statik -src=$(FUNC_WRAPPER_SRC_DIR) -f -p $(FUNC_WRAPPER_DST_DIR) -include=main.go,go.mod.src \
$(MYGOBIN)/statik -src=$(FUNC_WRAPPER_SRC_DIR) -f -p $(FUNC_WRAPPER_DST_DIR) -include=main.go,go.mod.src \
)

build: generate
Expand Down

0 comments on commit 204f3e2

Please sign in to comment.