mirror of
https://github.com/GoTestTools/gotestfmt-action.git
synced 2026-02-21 15:11:46 +00:00
Try using pwsh for Windows runner
Signed-off-by: Yuri Norwood <106889957+norwd@users.noreply.github.com>
This commit is contained in:
parent
45bc5f55b0
commit
28a666b71c
1 changed files with 6 additions and 2 deletions
8
.github/workflows/selftest.yml
vendored
8
.github/workflows/selftest.yml
vendored
|
|
@ -28,12 +28,16 @@ jobs:
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
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
|
- name: Run gotestfmt
|
||||||
working-directory: testdata
|
working-directory: testdata
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
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
|
go test -json -v ./... 2>&1 | tee gotest.${{ matrix.os }}.log | gotestfmt
|
||||||
|
|
||||||
- name: Upload test log
|
- name: Upload test log
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue