Skip to content

Commit

Permalink
test: e2e test on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
liu-hm19 committed Jul 1, 2024
1 parent c38df92 commit d421200
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/e2e-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,4 +56,8 @@ jobs:
kubectl get nodes
- name: Run e2e
run: make e2e-test
run: |
os=${OSTYPE//[0-9.]/}
echo $os
make e2e-test
2 changes: 2 additions & 0 deletions hack/run-e2e.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ GO111MODULE=on go install github.com/onsi/ginkgo/v2/[email protected]
# Check OS type.
os=${OSTYPE//[0-9.]/}

echo $os

if [[ $os == "windows" ]]; then
# Build kusion binary on Windows
go generate ./pkg/version
Expand Down

0 comments on commit d421200

Please sign in to comment.