Spaces:
Sleeping
Sleeping
Download Makefile from Ghaithhmz/MLops_pipeline_example: direct link, hf CLI and curl.
- Browser
- Download file 435 Bytes
-
https://huggingface.co/spaces/Ghaithhmz/MLops_pipeline_example/resolve/main/Makefile
- Command line
-
hf download hf://spaces/Ghaithhmz/MLops_pipeline_example/Makefile
-
curl -L -o Makefile https://huggingface.co/spaces/Ghaithhmz/MLops_pipeline_example/resolve/main/Makefile
435 Bytes
| install: | |
| pip install --upgrade pip &&\ | |
| pip install -r requirements.txt | |
| test : | |
| python -m pytest -vv -- cov=hello -- cov=greeting \ | |
| -cov=smath -cov=web tests | |
| python -m pytest -- nbval notebook.ipynb | |
| #tests our jupyter notebook | |
| #python -m pytest -v tests/test_web.py #if you just want to test web | |
| debug: | |
| python -m pytest -vv -pdb | |
| #Debugger is invoked | |
| one-test: | |
| python -m pytest -vv tests/test_greeting.py :: test_my_name4 | |