Skip to content

Commit 73aed78

Browse files
wip
1 parent 6444974 commit 73aed78

File tree

1 file changed

+24
-4
lines changed

1 file changed

+24
-4
lines changed

.github/workflows/test.yaml

Lines changed: 24 additions & 4 deletions
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,33 @@ 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 = "C:\Program Files\PowerShell\7\pwsh.exe"
35+
"Long path: $path"
36+
# convert it to 8.3 short name
37+
$shortPath = (New-Object -ComObject Scripting.FileSystemObject).GetFile($path).ShortPath
38+
"Short path: $shortPath"
39+
40+
$path2 = "D:\a\go-paths-helper\go-paths-helper\testdata\fileset\anotherFile"
41+
"Long path2: $path2"
42+
# convert it to 8.3 short name
43+
$shortPath2 = (New-Object -ComObject Scripting.FileSystemObject).GetFile($path2).ShortPath
44+
"Short path2: $shortPath2"
45+
2746
- name: Install Go
2847
uses: actions/setup-go@v2
2948
with:
30-
go-version: "1.21"
49+
go-version: "1.21.10"
3150

3251
- name: Run unit tests
33-
run: go test -v ./... -coverprofile=coverage_unit.txt
52+
run: |
53+
go test -v ./... -coverprofile=coverage_unit.txt
3454
3555
- name: Send unit tests coverage to Codecov
3656
uses: codecov/codecov-action@v1

0 commit comments

Comments
 (0)