Action for uploading coverage report to backstage
on: [push]
jobs:
coverage-upload:
runs-on: self-hosted
steps:
- uses: tradeshift/actions-coverage-upload@v1
with:
server: http://backstage:7000
file: coverage.xml
name: servicename
type: [cobertura|jacoco]
# optional values for using mutual tls:
ca-cert: ${{ secrets.MTLS_CACERT }}
client-cert: ${{ secrets.MTLS_CERT }}
client-key: ${{ secrets.MTLS_KEY }}
Uses NPM 8/Node 16 or newer