Skip to content

Commit

Permalink
denerate coverage report
Browse files Browse the repository at this point in the history
  • Loading branch information
Kazhuu committed Jan 5, 2022
1 parent fc8caaa commit 2c9a70c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
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
6 changes: 4 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ __pycache__/
build/
dist/
*egg-info
Pipfile.lock

# Vim files
.*.swp
Expand All @@ -15,5 +16,6 @@ Session.vim
# GDB history
.gdb_history

# Test output
test_output*
# Reporting
coverage.xml
.coverage

0 comments on commit 2c9a70c

Please sign in to comment.