Before submitting a topic, please confirm the following
I have searched for similar issues before creating this topic.
I have verified that my repository is using the Codecov GitHub app, if using GitHub
I have validated my codecov.yaml configuration file.
I have filled out the below sections to the best of my ability.
Description
When running Codecov in GitHub Actions and uploading it there only coverage for a single config file is discovered. However, when running locally it all works as expected. I even downloaded the report artifacts created in the CI and uploaded them on my machine and Codecov then recognized them all.
Please provide the full output of running the uploader on your CI/CD. This will typically have the Codecov logo as ASCII.
Run codecov/codecov-action@v3
with:
directory: ./build/coverage
==> linux OS detected
https://uploader.codecov.io/latest/linux/codecov.SHA256SUM
==> SHASUM file signed by key id 806bb28aed779869
==> Uploader SHASUM verified (648b599397548e4bb92429eec6391374c2cbb0edb835e3b3f03d4281c011f401 codecov)
==> Running version latest
==> Running version v0.2.3
/home/runner/work/_actions/codecov/codecov-action/v3/dist/codecov -n -Q github-action-3.1.0 -s ./build/coverage
[2022-06-04T14:40:36.591Z] ['info']
_____ _
/ ____| | |
| | ___ __| | ___ ___ _____ __
| | / _ \ / _` |/ _ \/ __/ _ \ \ / /
| |___| (_) | (_| | __/ (_| (_) \ V /
\_____\___/ \__,_|\___|\___\___/ \_/
Codecov report uploader 0.2.3
[2022-06-04T14:40:36.599Z] ['info'] => Project root located at: /home/runner/work/framework/framework
[2022-06-04T14:40:36.601Z] ['info'] -> No token specified or token is empty
[2022-06-04T14:40:36.607Z] ['info'] Searching for coverage files...
[2022-06-04T14:40:36.692Z] ['info'] Warning: Some files located via search were excluded from upload.
[2022-06-04T14:40:36.692Z] ['info'] If Codecov did not locate your files, please review https://docs.codecov.com/docs/supported-report-formats
[2022-06-04T14:40:36.692Z] ['info'] => Found 2 possible coverage files:
clover.xml
cobertura.xml
[2022-06-04T14:40:36.692Z] ['info'] Processing build/coverage/clover.xml...
[2022-06-04T14:40:36.694Z] ['info'] Processing build/coverage/cobertura.xml...
[2022-06-04T14:40:36.703Z] ['info'] Detected GitHub Actions as the CI provider.
[2022-06-04T14:40:36.704Z] ['info'] Pinging Codecov: https://codecov.io/upload/v4?package=github-action-3.1.0-uploader-0.2.3&token=*******&branch=master&build=2439942730&build_url=https%3A%2F%2Fgithub.com%2Fhydephp%2Fframework%2Factions%2Fruns%2F2439942730&commit=70d1dd91dce67c5b01eed85fcf0c9dcb715710db&job=Test+Suite+%28Matrix%29&pr=&service=github-actions&slug=hydephp%2Fframework&name=&tag=&flags=&parent=
[2022-06-04T14:40:37.190Z] ['info'] https://codecov.io/github/hydephp/framework/commit/70d1dd91dce67c5b01eed85fcf0c9dcb715710db
https://storage.googleapis.com/codecov/v4/raw/2022-06-04/2B41805228C8FC3CF077669EBC9F8CF4/70d1dd91dce67c5b01eed85fcf0c9dcb715710db/efd019c9-69d5-472a-a8b3-b612da584143.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220604%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220604T144037Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=44c13193c3648f7897b6d780dc68aa8a3960b307351689dbd9f00635d0448612
[2022-06-04T14:40:37.190Z] ['info'] Uploading...
[2022-06-04T14:40:37.409Z] ['info'] {"status":"success","resultURL":"https://codecov.io/github/hydephp/framework/commit/70d1dd91dce67c5b01eed85fcf0c9dcb715710db"}
Expected Results
I expect that all files are discovered when using the CI uploader.
Actual Results
Only config/hyde.php is found when uploading in the CI.
Additional Information
Just want to mention that I’ve tried uploading from both the root working directory and subdirectory.
I also read about path fixing in the docs, but couldn’t get that to work, but I don’t think that’s the problem since I could upload files generated by a Ubuntu CI on my local Windows machine.
@hydephp sorry it took me a bit longer to get back to this. I noticed that you have since removed Codecov. I made a small PR, but not sure if it works given that the Actions aren’t running. Let me know if you’d like to continue.