No files found to upload

I did find the same issue in another topic, but Tom asked me to raise a new one.

Description

I’ve created a coverage github action, but after running coverage with pytest, there’s no files found to upload;

Commit SHAs

88fa391dd9677900049f1555b608726c3ccd2db8

Repository

CI/CD or Build URL

Uploader

Github action (file)

Codecov Output

[2021-08-18T10:40:02.729Z] ['info'] 
     _____          _
    / ____|        | |
   | |     ___   __| | ___  ___ _____   __
   | |    / _ \ / _` |/ _ \/ __/ _ \ \ / /
   | |___| (_) | (_| |  __/ (_| (_) \ V /
    \_____\___/ \__,_|\___|\___\___/ \_/

  Codecov report uploader 0.1.0
[2021-08-18T10:40:02.736Z] ['info'] => Project root located at: /home/runner/work/djangogirls/djangogirls
[2021-08-18T10:40:02.740Z] ['info'] -> No token specified or token is empty
[2021-08-18T10:40:02.771Z] ['info'] Searching for coverage files...
[2021-08-18T10:40:02.818Z] ['error'] Error: No coverage files located, please try use `-f`, or change the project root with `-R`

Expected Results

Results to be uploaded.

@tom Thanks for the response, here’s the details from my issue.

@marksweb can you add coverage xml as a line after here

2 Likes

Thank your very much @tom that’s exactly what I was missing!!

"status":"success"
1 Like