File tree 1 file changed +34
-15
lines changed
1 file changed +34
-15
lines changed Original file line number Diff line number Diff line change 10
10
matrix :
11
11
operating-system :
12
12
[
13
- ubuntu-latest,
13
+ # ubuntu-latest,
14
14
windows-latest,
15
- macos-latest,
15
+ # macos-latest,
16
16
]
17
17
18
18
runs-on : ${{ matrix.operating-system }}
@@ -24,16 +24,35 @@ jobs:
24
24
- name : Checkout
25
25
uses : actions/checkout@v2
26
26
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 "C:\another" -ItemType "File"
31
+
32
+ # fsutil 8dot3name set D: 0
33
+
34
+ fsutil 8dot3name query C:
35
+ fsutil 8dot3name query D:
36
+
37
+ # Reference the file using the short path
38
+ $shortPath = "C:\ANOTHE~1"
39
+ type $shortPath
40
+ if (Test-Path $shortPath) {
41
+ Write-Output "File exists at: $shortPath"
42
+ } else {
43
+ Write-Output "File not found at: $shortPath"
44
+ }
45
+
46
+ # - name: Install Go
47
+ # uses: actions/setup-go@v2
48
+ # with:
49
+ # go-version: "1.21.10"
50
+ #
51
+ # - name: Run unit tests
52
+ # run: go test -v ./... -coverprofile=coverage_unit.txt
53
+ #
54
+ # - name: Send unit tests coverage to Codecov
55
+ # uses: codecov/codecov-action@v1
56
+ # with:
57
+ # file: ./coverage_unit.txt
58
+ # flags: unit
You can’t perform that action at this time.
0 commit comments