Skip to content

Commit 9cfa312

Browse files
wip
1 parent 6444974 commit 9cfa312

File tree

1 file changed

+33
-15
lines changed

1 file changed

+33
-15
lines changed

Diff for: .github/workflows/test.yaml

+33-15
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,16 +24,34 @@ jobs:
2424
- name: Checkout
2525
uses: actions/checkout@v2
2626

27-
- name: Install Go
28-
uses: actions/setup-go@v2
29-
with:
30-
go-version: "1.21"
31-
32-
- name: Run unit tests
33-
run: go test -v ./... -coverprofile=coverage_unit.txt
34-
35-
- name: Send unit tests coverage to Codecov
36-
uses: codecov/codecov-action@v1
37-
with:
38-
file: ./coverage_unit.txt
39-
flags: unit
27+
- name: test P$
28+
run: |
29+
# Create a new file named 'another'
30+
New-Item -Path "D:\a\go-paths-helper\go-paths-helper\another" -ItemType "File"
31+
32+
fsutil 8dot3name query
33+
fsutil 8dot3name set D: 0
34+
fsutil 8dot3name query
35+
# Reference the file using the short path
36+
$shortPath = "D:\a\go-paths-helper\go-paths-helper\ANOTHE~1"
37+
type $shortPath
38+
if (Test-Path $shortPath) {
39+
Write-Output "File exists at: $shortPath"
40+
} else {
41+
Write-Output "File not found at: $shortPath"
42+
}
43+
dir
44+
45+
# - name: Install Go
46+
# uses: actions/setup-go@v2
47+
# with:
48+
# go-version: "1.21.10"
49+
#
50+
# - name: Run unit tests
51+
# run: go test -v ./... -coverprofile=coverage_unit.txt
52+
#
53+
# - name: Send unit tests coverage to Codecov
54+
# uses: codecov/codecov-action@v1
55+
# with:
56+
# file: ./coverage_unit.txt
57+
# flags: unit

0 commit comments

Comments
 (0)