Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[v4][regression] Default config paths changed comparing to v3 — plz recover .codecov.yml support #1254

Closed
webknjaz opened this issue Feb 2, 2024 · 1 comment

Comments

@webknjaz
Copy link
Contributor

webknjaz commented Feb 2, 2024

In v3, codecov/uploader was used and it had an excessive list of possible config locations (a matrix of different filenames and dirs). With v4 and codecov/codecov-cli, though, that list was replaced with just a single possibility.

In other words, codecov/codecov-action@v4 changed the config path defaults without telling anyone:

The old defaults were to look up config filename variants with and without a leading dot, and with 3- and 4-letter extension variants, under the current working directory, .github/ subfolder and dev.

All my repos have the config in their respective roots called .codecov.yml, which worked without any problems for years across all the previous action versions v1/v2/v3 and with manual invocations before that.

With the upgrade to v4, it's not being detected:

warning - 2024-02-01 23:18:58,826 -- Config file codecov.yml not found, or is not a file. Ignoring config.
@thomasrockhu-codecov
Copy link
Contributor

Closing in favor of codecov/codecov-cli#365

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants