mirror of
https://github.com/chanzuckerberg/cellxgene.git
synced 2026-09-30 17:18:13 +08:00
Add codecov for code coverage of python and javascript (#1170)
* Add codecov to Push Test workflow * Empty commit * Clear reports and tag each with flags * Tag code reports by test * Fix codecov tags * One more fix
This commit is contained in:
+8
-1
@@ -7,4 +7,11 @@ clean:
|
||||
|
||||
.PHONY: unit-test
|
||||
unit-test:
|
||||
pytest -s test
|
||||
PYTHONWARNINGS=ignore:ResourceWarning coverage run \
|
||||
--source=app,cli,common,compute,converters,data_anndata,data_common,data_cxg \
|
||||
--omit=.coverage,data_common/fbs/NetEncoding,venv \
|
||||
-m unittest discover \
|
||||
--start-directory test/ \
|
||||
--top-level-directory ../ \
|
||||
--verbose
|
||||
|
||||
|
||||
@@ -3,4 +3,5 @@ bumpversion>=0.5
|
||||
parameterized>=0.7.0
|
||||
pytest>=3.6.3
|
||||
twine>=1.12.1
|
||||
codecov>=2.0.15
|
||||
-r requirements.txt
|
||||
|
||||
Reference in New Issue
Block a user