Download misc/test-coverage from Heartsync/HWPower: direct link, hf CLI and curl.
- Browser
- Download file 664 Bytes
-
https://huggingface.co/spaces/Heartsync/HWPower/resolve/main/misc/test-coverage
- Command line
-
hf download hf://spaces/Heartsync/HWPower/misc/test-coverage
-
curl -L -o test-coverage https://huggingface.co/spaces/Heartsync/HWPower/resolve/main/misc/test-coverage
664 Bytes
| # Remove old results | |
| ${buildout:directory}/bin/coverage erase | |
| # Collect test coverage results for all packages | |
| # Runs a code coverage analysis on top of the "bin/test" script for | |
| # all packages. The data will be collected in a ".coverage" output file | |
| # in the buildout directory. | |
| ${buildout:directory}/bin/coverage run -p --source=hwp5 ${buildout:directory}/bin/test | |
| # Combine all package analysis | |
| ${buildout:directory}/bin/coverage combine | |
| # Generates a "coverage.xml" file that Jenkins can read and process from the | |
| # ".coverage" file that the coverage report created. | |
| ${buildout:directory}/bin/coverage xml -i -o ${buildout:directory}/coverage.xml | |