Skip to content

Commit

Permalink
add coveralls (#3)
Browse files Browse the repository at this point in the history
  • Loading branch information
p7g committed Dec 20, 2021
1 parent a99092e commit 05dbe8a
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .coveragerc
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[run]
include = asyncio_connection_pool/*
8 changes: 7 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,10 @@ jobs:
- name: install riot
run: pip install riot==0.4.0
- name: run tests
run: riot -v run --python=${{ matrix.python-version }} test
run: riot -v run --python=${{ matrix.python-version }} test -- --cov=asyncio_connection_pool --cov-branch --cov-config=.coveragerc
- name: upload coverage
run: pip install coveralls && coveralls
env:
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
- name: print coverage
run: pip install coverage && coverage report
1 change: 1 addition & 0 deletions riotfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
pkgs={
"pytest": "==6.1.2",
"pytest-asyncio": "==0.14.0",
"pytest-cov": latest,
# extras_require
"ddtrace": latest,
"datadog": latest,
Expand Down

0 comments on commit 05dbe8a

Please sign in to comment.