This centralized GitHub action creates code coverage badges from xml reports
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/[email protected]
- name: Badges
id: badges
uses: SatelCreative/[email protected]
with:
app-name: ${{ inputs.app-name }}
environment: ${{ inputs.environment }}