Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 10 additions & 1 deletion .github/workflows/python-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,16 @@ jobs:
- name: Run tests
run: |
pip install pytest
python -m pytest
pip install pytest-cov
python -m pytest --cov=./ --cov-report=xml
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v2
with:
directory: ./coverage/reports/
files: ./coverage.xml
env_vars: OS,PYTHON
fail_ci_if_error: true
verbose: true
- name: Lint with flake8
run: |
# stop the build if there are Python syntax errors or undefined names
Expand Down