Skip to content

SatelCreative/satel-badges-generation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Satel Badges Generation

This centralized GitHub action creates code coverage badges from xml reports

Example usage

  badges-generation:
    needs: [poetry-redoc]
    timeout-minutes: 15
    # Code coverage action doesn't run on self-hosted runner
    runs-on: ubuntu-latest
    environment: ${{ inputs.environment }}
    outputs:
      BADGES: ${{ steps.badges.outputs.BADGES }}
    steps:
      - name: Check out repository
        uses: actions/checkout@v4.1.1

      - name: Badges
        id: badges
        uses: SatelCreative/satel-badges-generation@1.0.0
        with:       
          app-name: ${{ inputs.app-name }}
          environment: ${{ inputs.environment }}