Issue haveyoudebuggedit/gotestfmt#8: JSON support (#1)

This commit is contained in:
Janos Bonic 2021-12-05 13:54:21 +01:00 committed by GitHub
parent 5bb352227d
commit 3e91a15d55
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 6 deletions

View file

@ -7,17 +7,17 @@ jobs:
name: Self-test
runs-on: ubuntu-latest
steps:
- name: Install gotestfmt
uses: haveyoudebuggedit/gotestfmt-action@main
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.16
- name: Checkout
uses: actions/checkout@v2
- name: Install gotestfmt
uses: ./
- name: Run gotestfmt
working-directory: testdata
run: go test -v ./... 2>&1 | tee /tmp/gotest.log | gotestfmt
run: go test -json -v ./... 2>&1 | tee /tmp/gotest.log | gotestfmt
- name: Upload test log
uses: actions/upload-artifact@v2
if: always()