Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed codecov support #11

Merged
merged 2 commits into from
Jan 5, 2022
Merged
Show file tree
Hide file tree
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
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,11 @@ jobs:
${PYTHON} -m pip install pipenv
pipenv install --dev
- name: Run tests
run: pipenv run pytest --junitxml=test_output.xml
run: pipenv run pytest --cov-report xml --cov=src test/
- name: Codecov
uses: codecov/codecov-action@v2
with:
files: ./test_output.xml
files: ./coverage.xml
- name: Linting
if: ${{ matrix.os == 'ubuntu-latest' }}
run: pipenv run flake8
9 changes: 6 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,15 @@ __pycache__/
build/
dist/
*egg-info
Pipfile.lock

# Vim swaps
# Vim files
.*.swp
Session.vim

# GDB history
.gdb_history

# Test output
test_output*
# Reporting
coverage.xml
.coverage
1 change: 1 addition & 0 deletions Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,4 @@ graphviz = "*"
ipdb = "*"
flake8 = "*"
pytest = "*"
pytest-cov = "*"