Closed bgatellier closed 1 month ago
@bgatellier Is the inheriting project excluding/renaming the test task by chance?
@bgatellier Is the inheriting project excluding/renaming the test task by chance?
Not renaming, but after debugging and further investigation with your suggestion, 1 project have the following moon.yml:
workspace:
inheritedTasks:
exclude:
- build
- test
And adding the coverage task to the exclusion list did the trick.
Sorry for the additional issue and thanks for your help and super quick answer!
Np!
Let me see if I can show a better error message here (assuming there's enough context).
Np!
Let me see if I can show a better error message here (assuming there's enough context).
That would be lovely
Added a little message in v1.28.3
Describe the bug
Having a task that extends a task named
test
results in an error saying that thetest
task is unknown.Steps to reproduce
test
coverage
and make it extendstest
moon run :coverage
Expected behavior
The command is executed without error
Screenshots
Here is my complete
.moon/tasks.yml
configuration (I paste it raw below the screenshot)Environment
Additional context
Tested with moon 1.27.10 and 1.28.1
Changing the extended task name in favor of
tests
ortest2
does not trigger the error.