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 d421200 commit cdc7699
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/e2e-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,4 @@ jobs:
- name: Run e2e
run: |
os=${OSTYPE//[0-9.]/}
echo $os
make e2e-test
6 changes: 1 addition & 5 deletions hack/run-e2e.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,7 @@ set -o pipefail
GO111MODULE=on go install github.com/onsi/ginkgo/v2/[email protected]

# Check OS type.
os=${OSTYPE//[0-9.]/}

echo $os

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

0 comments on commit cdc7699

Please sign in to comment.