Skip to content

Commit

Permalink
Improve coverage testing
Browse files Browse the repository at this point in the history
  • Loading branch information
brettcannon committed Jan 18, 2020
1 parent a9b4e37 commit b712dd9
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,12 @@ jobs:
- run: pip install flit
- run: flit install --deps develop
- name: Run tests
run: pytest --cov=gidgethub
run: pytest --cov=gidgethub --cov-config=.coveragerc --cov-fail-under=100 --cov-report=xml:cov.xml
- uses: codecov/codecov-action@v1
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: ./cov.xml
- name: Check type hints
run: mypy --ignore-missing-imports --strict gidgethub/*.py
- name: Check docs
run: sphinx-build -nW -q -b html -b linkcheck -d docs/_build/doctrees docs docs/_build/html
- uses: codecov/codecov-action@v1
with:
token: ${{ secrets.CODECOV_TOKEN }}

0 comments on commit b712dd9

Please sign in to comment.