diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index feb89d1..3717bb2 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -10,9 +10,9 @@ jobs: matrix: operating-system: [ - ubuntu-latest, + # ubuntu-latest, windows-latest, - macos-latest, + # macos-latest, ] runs-on: ${{ matrix.operating-system }} @@ -24,16 +24,32 @@ jobs: - name: Checkout uses: actions/checkout@v2 - - name: Install Go - uses: actions/setup-go@v2 - with: - go-version: "1.21" - - - name: Run unit tests - run: go test -v ./... -coverprofile=coverage_unit.txt - - - name: Send unit tests coverage to Codecov - uses: codecov/codecov-action@v1 - with: - file: ./coverage_unit.txt - flags: unit + - name: test P$ + run: | + # Create a new file named 'another' + fsutil 8dot3name query + fsutil 8dot3name set D: 0 + fsutil 8dot3name query + # Reference the file using the short path + $shortPath = "D:\a\go-paths-helper\go-paths-helper\testdata\fileset\ANOTHE~1" + type $shortPath + if (Test-Path $shortPath) { + Write-Output "File exists at: $shortPath" + } else { + Write-Output "File not found at: $shortPath" + } + dir + + # - name: Install Go + # uses: actions/setup-go@v2 + # with: + # go-version: "1.21.10" + # + # - name: Run unit tests + # run: go test -v ./... -coverprofile=coverage_unit.txt + # + # - name: Send unit tests coverage to Codecov + # uses: codecov/codecov-action@v1 + # with: + # file: ./coverage_unit.txt + # flags: unit