File tree 5 files changed +10
-3
lines changed
5 files changed +10
-3
lines changed Original file line number Diff line number Diff line change 35
35
python -m spacy download en_core_web_sm
36
36
- name : Test with pytest
37
37
run : |
38
- python -m pytest -v
38
+ python -m pytest --cov -v
39
+ - name : Upload coverage to Codecov
40
+ uses : codecov/codecov-action@v3
Original file line number Diff line number Diff line change @@ -129,3 +129,4 @@ dmypy.json
129
129
.pyre /
130
130
.idea /
131
131
.DS_Store
132
+ codecov
Original file line number Diff line number Diff line change 14
14
<a href =" https://pypi.org/project/zshot/ " ><img src =" https://img.shields.io/pypi/v/zshot " /></a >
15
15
<a href =" https://pypi.org/project/zshot/ " ><img src =" https://img.shields.io/pypi/dm/zshot " /></a >
16
16
<a href =" https://github.com/IBM/zshot/actions/workflows/python-tests.yml " > <img alt =" Build " src =" https://github.com/IBM/zshot/actions/workflows/python-tests.yml/badge.svg " /></a >
17
+ <a href =" https://app.codecov.io/github/ibm/zshot " > <img alt =" Build " src =" https://codecov.io/github/ibm/zshot/branch/main/graph/badge.svg " /></a >
17
18
18
19
</p >
19
20
</div >
Original file line number Diff line number Diff line change 12
12
<a href =" https://pypi.org/project/zshot/ " ><img src =" https://img.shields.io/pypi/v/zshot " /></a >
13
13
<a href =" https://pypi.org/project/zshot/ " ><img src =" https://img.shields.io/pypi/dm/zshot " /></a >
14
14
<a href =" https://github.com/IBM/zshot/actions/workflows/python-tests.yml " > <img alt =" Build " src =" https://github.com/IBM/zshot/actions/workflows/python-tests.yml/badge.svg " /></a >
15
+ <a href =" https://app.codecov.io/github/ibm/zshot " > <img alt =" Build " src =" https://codecov.io/github/ibm/zshot/branch/main/graph/badge.svg " /></a >
15
16
16
17
</p >
17
18
</div >
Original file line number Diff line number Diff line change 1
- pytest>=5.0
1
+ pytest>=7.0
2
+ pytest-cov>=3.0.0
2
3
setuptools~=60.0.0
3
4
flair==0.11.3
4
- flake8>=4.0.1
5
+ flake8>=4.0.1
6
+ coverage>=6.4.1
You can’t perform that action at this time.
0 commit comments