openzim / youtube

Create a ZIM file from a Youtube channel/username/playlist
GNU General Public License v3.0
39 stars 26 forks source link

Fix code coverage test for scraper #211

Closed dan-niles closed 1 week ago

dan-niles commented 1 month ago

The code coverage test outputs the following the following error:

[2024-05-28T13:32:29.987Z] ['info'] => Project root located at: /home/runner/work/youtube/youtube
[2024-05-[28](https://github.com/openzim/youtube/actions/runs/9270310710/job/25503017533#step:6:29)T13:32:29.988Z] ['info'] ->  Token found by environment variables
[2024-05-28T13:32:30.106Z] ['info'] Searching for coverage files...
[2024-05-28T13:32:30.1[29](https://github.com/openzim/youtube/actions/runs/9270310710/job/25503017533#step:6:30)Z] ['info'] Warning: Some files located via search were excluded from upload.
[2024-05-28T13:32:[30](https://github.com/openzim/youtube/actions/runs/9270310710/job/25503017533#step:6:31).129Z] ['info'] If Codecov did not locate your files, please review https://docs.codecov.com/docs/supported-report-formats
[2024-05-28T13:32:30.129Z] ['error'] There was an error running the uploader: No coverage files located, please try use `-f`, or change the project root with `-R`
[2024-05-28T13:[32](https://github.com/openzim/youtube/actions/runs/9270310710/job/25503017533#step:6:33):30.130Z] ['info'] Codecov will exit with status code 0. If you are expecting a non-zero exit code, please pass in the `-Z` flag

This needs to be fixed.

benoit74 commented 2 weeks ago

This has been detected in another project as well and incorporated in the bootstrap: https://github.com/openzim/_python-bootstrap/compare/v1.0.1...v1.0.2

So solution is "easy": simply implement bootstrap v1.0.2 ^^