A GitHub Action to upload code coverage
Create a file in your repo named .github/workflows/uncovered.yml
with the following contents:
name: Upload Coverage
on:
pull_request:
types: [opened, reopened, synchronize]
jobs:
upload:
name: upload
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- uses: actions/checkout@v2
- uses: uncoveredapp/action@v1
Name | Description | Default | Required |
---|---|---|---|
coverageDirectory | The location of your code coverage report | coverage | No |
uploadToken | The repository upload token from Uncovered | Yes |