Skip to content

Commit

Permalink
Enable Codecov (#10)
Browse files Browse the repository at this point in the history
* install pytest, generate xml report and enable codecov in ci pipeline
* remove Pipfile.lock
  • Loading branch information
Kazhuu authored Jan 5, 2022
1 parent 8ba1e70 commit a5f31c5
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 183 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,11 @@ jobs:
${PYTHON} -m pip install pipenv
pipenv install --dev
- name: Run tests
run: pipenv run python -m unittest
run: pipenv run pytest --junitxml=test_output.xml
- name: Codecov
uses: codecov/codecov-action@v2
with:
files: ./test_output.xml
- name: Linting
if: ${{ matrix.os == 'ubuntu-latest' }}
run: pipenv run flake8
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,6 @@ dist/

# GDB history
.gdb_history

# Test output
test_output*
1 change: 1 addition & 0 deletions Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@ graphviz = "*"
[dev-packages]
ipdb = "*"
flake8 = "*"
pytest = "*"
182 changes: 0 additions & 182 deletions Pipfile.lock

This file was deleted.

0 comments on commit a5f31c5

Please sign in to comment.