Skip to content

Commit

Permalink
Show coverage report in github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
lbonn committed Feb 6, 2024
1 parent 21995ec commit 6cbd807
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .github/actions/test/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,6 @@ runs:
run: flake8 i3_quickterm tests
- id: pytest
shell: bash
run: pytest -vv
run: |
coverage run -m pytest -vv
coverage report -m
2 changes: 2 additions & 0 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
black==24.1.1
click==8.1.7
coverage==7.4.1
flake8==7.0.0
iniconfig==2.0.0
mccabe==0.7.0
Expand All @@ -11,5 +12,6 @@ pluggy==1.4.0
pycodestyle==2.11.1
pyflakes==3.2.0
pytest==8.0.0
python-xlib==0.33
tomli==2.0.1
typing_extensions==4.9.0
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def find_version(*file_paths):
python_requires=">=3.6",
install_requires=["i3ipc>=2.0.1"],
extras_require={
"dev": ["black", "flake8", "pytest"],
"dev": ["black", "coverage", "flake8", "pytest"],
},
entry_points={
"console_scripts": [
Expand Down

0 comments on commit 6cbd807

Please sign in to comment.