Skip to content

Commit 13f02a8

Browse files
wip
1 parent 6444974 commit 13f02a8

File tree

1 file changed

+17
-3
lines changed

1 file changed

+17
-3
lines changed

Diff for: .github/workflows/test.yaml

+17-3
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,10 +24,24 @@ jobs:
2424
- name: Checkout
2525
uses: actions/checkout@v2
2626

27+
- name: test P$
28+
run: |
29+
# Create a new file named 'another'
30+
New-Item -Path "C:\another" -ItemType "File"
31+
32+
# Reference the file using the short path
33+
$shortPath = "C:\ANOTHE~1"
34+
if (Test-Path $shortPath) {
35+
Write-Output "File exists at: $shortPath"
36+
} else {
37+
Write-Output "File not found at: $shortPath"
38+
}
39+
dir
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
3347
run: go test -v ./... -coverprofile=coverage_unit.txt

0 commit comments

Comments
 (0)