Skip to content

Warning

You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?

Golang Test Annotations

Actions
Given a test output of go test, the failed tests will be annotated
v0.1
Star (34)

golang-test-annoations

A github action which annotates failed tests.

GitHub Annotations

How to use

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/[email protected]
        with:
          test-results: test.json

Development of this action

  1. Fork this repo.
  2. Create a branch with your feature/bugfix.
  3. Open a PR to me.

Issues

Please open issues for any bug or suggestion you have.

Golang Test Annotations is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

Given a test output of go test, the failed tests will be annotated
v0.1

Golang Test Annotations is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.