Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
Signed-off-by: zongzhe <zongzhe1024@163.com>
  • Loading branch information
zong-zhe committed Nov 19, 2024
1 parent 27ff4c4 commit 6baad09
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/test-win.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
name: Windows Test
on:
pull_request:
branches:
- main
push:
branches:
- main
on: push
# pull_request:
# branches:
# - main
# push:
# branches:
# - main

jobs:
TestWindows:
Expand All @@ -29,8 +29,8 @@ jobs:
iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
choco install make
- run: go build ./...
- run: go vet ./...
# - run: go build ./...
# - run: go vet ./...

- name: Running go tests with coverage on Windows
env:
Expand Down
1 change: 1 addition & 0 deletions pkg/client/run.go
Original file line number Diff line number Diff line change
Expand Up @@ -505,6 +505,7 @@ func (o *RunOptions) applyCompileOptions(source downloader.Source, kclPkg *pkg.K
}

// Iterate all the kcl files and transform the '-' in mod relative path to '_'
fmt.Printf("len(o.KFilenameList): %v\n", len(o.KFilenameList))
for i, kfile := range o.KFilenameList {
fmt.Printf("kfile: %v\n", kfile)
fmt.Printf("utils.IsModRelativePath(kfile): %v\n", utils.IsModRelativePath(kfile))
Expand Down

0 comments on commit 6baad09

Please sign in to comment.