Skip to content

Commit

Permalink
Merge pull request #102 from andyzhangx/windows-ut-pipeline
Browse files Browse the repository at this point in the history
add Windows unit test pipeline
  • Loading branch information
andyzhangx committed Sep 6, 2020
2 parents ec156a9 + 86383d3 commit cf25556
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 18 deletions.
17 changes: 0 additions & 17 deletions .github/ISSUE_TEMPLATE/feature-request.md

This file was deleted.

5 changes: 5 additions & 0 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,8 @@ jobs:
- name: Build
run: |
go build -a -o _output/smbplugin.exe ./pkg/smbplugin
- name: Run Windows Unit Tests
run: |
go test -v -race ./pkg/smb/...
go test -v -race ./pkg/csi-common/...
go test -v -race ./pkg/mounter/...
2 changes: 1 addition & 1 deletion pkg/mounter/safe_mounter_windows.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ func (mounter *CSIProxyMounter) SMBMount(source, target, fsType string, mountOpt
}

if !parentExists {
klog.Infof("Parent directory %s does not exists. Creating the directory")
klog.Infof("Parent directory %s does not exists. Creating the directory", parentDir)
err := mounter.MakeDir(parentDir)
if err != nil {
return fmt.Errorf("create of parent dir: %s dailed with error: %v", parentDir, err)
Expand Down

0 comments on commit cf25556

Please sign in to comment.