mirror of
https://github.com/Doctorado-ML/FImdlp.git
synced 2025-08-17 16:35:52 +00:00
Add tests to 100% coverage to Python
This commit is contained in:
3
Makefile
3
Makefile
@@ -10,13 +10,14 @@ clean: ## Clean up
|
||||
if [ -d fimdlp/testcpp/lcoverage ]; then rm -fr fimdlp/testcpp/lcoverage/* ; fi;
|
||||
|
||||
test:
|
||||
python -m unittest -v fimdlp.tests
|
||||
coverage run -m unittest -v fimdlp.tests
|
||||
cd fimdlp/testcpp && ./test
|
||||
|
||||
coverage:
|
||||
if [ -d fimdlp/testcpp/build/CMakeFiles ]; then rm -fr fimdlp/testcpp/build/CMakeFiles/* ; fi;
|
||||
make test
|
||||
cd fimdlp/testcpp && ./cover
|
||||
coverage report -m
|
||||
|
||||
lint: ## Lint and static-check
|
||||
black fimdlp
|
||||
|
Reference in New Issue
Block a user