Skip to content

Fix Json output name when export isn't set#337

Merged
parroty merged 1 commit intoparroty:masterfrom
timothyvanderaerden:export
Jan 26, 2025
Merged

Fix Json output name when export isn't set#337
parroty merged 1 commit intoparroty:masterfrom
timothyvanderaerden:export

Conversation

@timothyvanderaerden
Copy link
Contributor

@timothyvanderaerden timothyvanderaerden commented Jan 20, 2025

By default export is set to false, with recent changes in #335 when export isn't set this results in the json be named to false.json. This breaks pipelines that expect the filename excoveralls.json to be used.

To be more precise, this is only when export_coverage and partitions aren't also set as well, then export is set to false.

See: https://github.com/elixir-lang/elixir/blob/029699735d8b3331316dd7362c5b3cfffe6f2602/lib/mix/lib/mix/tasks/test.ex#L578

And: https://github.com/elixir-lang/elixir/blob/029699735d8b3331316dd7362c5b3cfffe6f2602/lib/mix/lib/mix/tasks/test.ex#L582

@timothyvanderaerden timothyvanderaerden changed the title Fix Json output name when none is set Fix Json output name when export isn't set Jan 20, 2025
@parroty parroty merged commit 9bc1a79 into parroty:master Jan 26, 2025
3 checks passed
@parroty
Copy link
Owner

parroty commented Jan 26, 2025

Thank you 🙇

@timothyvanderaerden timothyvanderaerden deleted the export branch January 27, 2025 07:36
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

Successfully merging this pull request may close these issues.

2 participants