File tree Expand file tree Collapse file tree 3 files changed +12
-2
lines changed Expand file tree Collapse file tree 3 files changed +12
-2
lines changed Original file line number Diff line number Diff line change 25
25
python -m pip install -e .[dev]
26
26
- name : Test with pytest
27
27
run : |
28
- python -m pytest -v
28
+ python -m pytest --cov -v
29
+ - name : Upload coverage reports to Codecov
30
+
31
+ with :
32
+ token : ${{ secrets.CODECOV_TOKEN }}
33
+ slug : python-rope/rope
Original file line number Diff line number Diff line change 6
6
rope -- the world's most advanced open source Python refactoring library
7
7
=========================================================================
8
8
9
- |Build status badge | |Latest version badge | |Download count badge | |ReadTheDocs status badge |
9
+ |Build status badge | |Latest version badge | |Download count badge | |ReadTheDocs status badge | | Codecov badge |
10
10
11
11
.. |Build status badge | image :: https://github.com/python-rope/rope/actions/workflows/main.yml/badge.svg
12
12
:target: https://github.com/python-rope/rope/actions/workflows/main.yml
23
23
:target: https://rope.readthedocs.io/en/latest/?badge=latest
24
24
:alt: Documentation Status
25
25
26
+ .. |Codecov badge | image :: https://codecov.io/gh/python-rope/rope/graph/badge.svg?token=pU08MBXFIS
27
+ :target: https://codecov.io/gh/python-rope/rope
28
+ :alt: Codecov
29
+
26
30
Overview
27
31
========
28
32
Original file line number Diff line number Diff line change @@ -48,6 +48,7 @@ doc = [
48
48
]
49
49
dev = [
50
50
' pytest>=7.0.1' ,
51
+ ' pytest-cov>=4.1.0' ,
51
52
' pytest-timeout>=2.1.0' ,
52
53
' build>=0.7.0' ,
53
54
' pre-commit>=2.20.0' ,
You can’t perform that action at this time.
0 commit comments