Skip to content

adds junit test xml summaries #7

adds junit test xml summaries

adds junit test xml summaries #7

Workflow file for this run

name: build
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Set up Go 1.19
uses: actions/setup-go@v1
with:
go-version: 1.19
id: go
- name: Check out code
uses: actions/checkout@v1
- name: Vet
run: go vet ./...
env:
GO111MODULE: on
- name: Test
run: go run gotest.tools/gotestsum@latest --junitfile unit-tests.xml --format pkgname
- name: Test Summary
uses: test-summary/action@v2
with:
paths: "unit-tests.xml"
if: always()