feat: warn on microsecond granularity and empty string summary #364
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Code coverage | |
on: [pull_request] | |
jobs: | |
run: | |
# Don't run on PRs from forks | |
if: github.event.pull_request.head.repo.full_name == github.repository | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: '3.12' | |
- name: Install dependencies | |
run: pip install tox | |
- name: Generate code coverage | |
run: tox -e coverage | |
- name: Post to GitHub | |
uses: 5monkeys/cobertura-action@master | |
with: | |
path: coverage.xml | |
repo_token: ${{ secrets.GITHUB_TOKEN }} | |
minimum_coverage: 75 | |
skip_covered: false |