linkml / linkml-project-cookiecutter

A cookiecutter for linkml projects. An equivalent of `linkml-ws new project-name`.
Creative Commons Zero v1.0 Universal
14 stars 16 forks source link

"make test" runs gen-project but puts outputs in /tmp - causing "make test" to continue to fail without an updated python class #19

Closed sierra-moxon closed 1 year ago

sierra-moxon commented 1 year ago

steps to reproduce:

1) create a project using linkml-project-cookiecutter 2) make a breaking change to the schema yaml file 3) run make test (noting that the test still works even with the breaking yaml change)

some solutions might be:

cpauvert commented 1 year ago

Hi @sierra-moxon How was this issue resolved and what is the recommend approach? Because I also ran into the same problem. UPDATE: Running make gen-project before running make test seems to update the datamodel Best,