Skip to content

Github action that runs your go tests and generates reports in various formats for use in your ci-cd pipeline.

License

Notifications You must be signed in to change notification settings

brian-pickens/go-test-report

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

go-test-report

This action runs your go tests and generates reports in various formats for use in your ci-cd pipeline.

It can generate action test summaries. Screen Shot 2023-05-08 at 12 13 33 AM

Inputs

packages

Go packages test. Default "./...".

reports-only

Generate test reports only. Does not fail action on failed tests. Default "false".

summary

Display test results in a step summary. Default "true".

GO111MODULE

Set the GO111MODULE go env variable. Default "auto ".

Outputs

json-report

Test results in test2json format.

junit-report

Test results in junit test format.

markdown-report

Test results generated in a markdown format. Can be used to create summary or checks.

Example usage

- uses: brian-pickens/go-test-report@v1
  with:
    packages: "./..."
    reports-only: "false"
    summary: "true"
    GO111MODULE: "auto"

About

Github action that runs your go tests and generates reports in various formats for use in your ci-cd pipeline.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published