You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
GitHub Action
Golang Test Annotations
v0.3.0
A github action which annotates failed tests.
Add to your workflow the following contents:
name: workflow
on:
push:
branches: [ '**' ]
pull_request:
branches: [ '**' ]
jobs:
full_ci:
runs-on: ubuntu-18.04
steps:
- name : checkout
uses: actions/checkout@v2
- uses: actions/setup-go@v2
with:
go-version: '1.14'
- name: run tests
run: go test -json ./... > test.json
- name: annotate tests
if: always()
uses: guyarb/golang-test-annotations@v0.2.0
with:
test-results: test.json
- Fork this repo.
- Create a branch with your feature/bugfix.
- Open a PR to me.
Please open issues for any bug or suggestion you have.