Skip to content

This action runs code coverage for Go based projects and uploads the coverage report as an artifact.

Notifications You must be signed in to change notification settings

Sonichigo/get-cov

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

66 Commits
 
 
 
 
 
 

Repository files navigation

Go Code Coverage Report

permissions:
  contents: write
  pull-requests: write

jobs:

  coverage:
    name: Generate Coverage Report
    runs-on: ubuntu-latest
    
    steps:
      - name: Get Code Coverage
        uses: sonichigo/get-cov@main
        with:
            coverage-file: my-coverage-file
            coverage-threshold: 55
            token: ${{ secrets.GITHUB_TOKEN }}

About

This action runs code coverage for Go based projects and uploads the coverage report as an artifact.

Resources

Stars

Watchers

Forks