Try using pwsh for Windows runner

Signed-off-by: Yuri Norwood <106889957+norwd@users.noreply.github.com>
This commit is contained in:
Yuri Norwood 2022-11-07 12:45:31 +13:00 committed by GitHub
parent 45bc5f55b0
commit 28a666b71c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -28,12 +28,16 @@ jobs:
with:
token: ${{ secrets.GITHUB_TOKEN }}
- name: Run gotestfmt on Windows
if: matrix.os == 'windows'
shell: pwsh
run: |
go test -json -v ./... 2>&1 | gotestfmt
- name: Run gotestfmt
working-directory: testdata
shell: bash
run: |
echo "$PATH" | tr ':' '\n'
ls -lar "/c/Program Files/GoTestTools/bin/" || true
go test -json -v ./... 2>&1 | tee gotest.${{ matrix.os }}.log | gotestfmt
- name: Upload test log