Skip to content

Add gotestfmt

Add gotestfmt #1

Workflow file for this run

# SPDX-FileCopyrightText: 2023 The Pion community <https://pion.ly>
# SPDX-License-Identifier: MIT
name: Sean Test
jobs:
sean-test:
runs-on: ubuntu-latest
name: Sean Test
steps:
- uses: actions/checkout@v4
- name: Run test
run: |
docker run \
-u $(id -u):$(id -g) \
-e "GO111MODULE=on" \
-e "CGO_ENABLED=0" \
-e "GOPROXY=direct" \
-e "GOSUMDB=off" \
-v $GITHUB_WORKSPACE:/go/src/github.com/pion/$(basename $GITHUB_WORKSPACE) \
-v $HOME/go/pkg/mod:/go/pkg/mod \
-v $HOME/.cache:/.cache \
-w /go/src/github.com/pion/$(basename $GITHUB_WORKSPACE) \
i386/golang:1.21-alpine \
/bin/sh -c "go install github.com/gotesttools/gotestfmt/v2/cmd/gotestfmt@latest; /usr/local/go/bin/go test ${TEST_EXTRA_ARGS:-} -json -v ./... | gotestfmt"