Skip to content

Commit

Permalink
CI: Publish code coverage.
Browse files Browse the repository at this point in the history
  • Loading branch information
andialbrecht committed Sep 10, 2021
1 parent d5165ae commit 611c91d
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/python-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install flake8 pytest
pip install flake8 pytest pytest-cov codecov
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Lint with flake8
run: |
Expand All @@ -36,4 +36,7 @@ jobs:
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics sqlparse
- name: Test with pytest
run: |
pytest
pytest --cov=sqlparse
- name: Publish to codecov
run: |
codecov

0 comments on commit 611c91d

Please sign in to comment.