Skip to content

Commit 65585ab

Browse files
wip
1 parent 6444974 commit 65585ab

File tree

1 file changed

+20
-4
lines changed

1 file changed

+20
-4
lines changed

Diff for: .github/workflows/test.yaml

+20-4
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ jobs:
1010
matrix:
1111
operating-system:
1212
[
13-
ubuntu-latest,
13+
# ubuntu-latest,
1414
windows-latest,
15-
macos-latest,
15+
# macos-latest,
1616
]
1717

1818
runs-on: ${{ matrix.operating-system }}
@@ -24,13 +24,29 @@ jobs:
2424
- name: Checkout
2525
uses: actions/checkout@v2
2626

27+
- name: test P$
28+
run: |
29+
fsutil 8dot3name set D: 0
30+
31+
fsutil 8dot3name query C:
32+
fsutil 8dot3name query D:
33+
34+
$path = "D:\a\go-paths-helper\go-paths-helper\testdata\fileset\anotherFile"
35+
"Long path: $path"
36+
37+
# convert it to 8.3 short name
38+
$shortPath = (New-Object -ComObject Scripting.FileSystemObject).GetFile($path).ShortPath
39+
"Short path: $shortPath"
40+
2741
- name: Install Go
2842
uses: actions/setup-go@v2
2943
with:
30-
go-version: "1.21"
44+
go-version: "1.21.10"
3145

3246
- name: Run unit tests
33-
run: go test -v ./... -coverprofile=coverage_unit.txt
47+
run: |
48+
fsutil 8dot3name set D: 0
49+
go test -v ./... -coverprofile=coverage_unit.txt
3450
3551
- name: Send unit tests coverage to Codecov
3652
uses: codecov/codecov-action@v1

0 commit comments

Comments
 (0)