diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index feb89d1..633e208 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,10 +24,23 @@ jobs: - name: Checkout uses: actions/checkout@v2 + - name: test P$ + run: | + # Create a new file named 'another' + New-Item -Path "C:\temp\another" -ItemType "File" + + # Reference the file using the short path + $shortPath = "C:\temp\ANOTHE~1" + if (Test-Path $shortPath) { + Write-Output "File exists at: $shortPath" + } else { + Write-Output "File not found at: $shortPath" + } + - name: Install Go uses: actions/setup-go@v2 with: - go-version: "1.21" + go-version: "1.21.10" - name: Run unit tests run: go test -v ./... -coverprofile=coverage_unit.txt