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

Added linkml-run-examples within make test #53

Merged
merged 2 commits into from
Mar 7, 2023
Merged

Conversation

hrshdhgd
Copy link
Collaborator

@hrshdhgd hrshdhgd commented Mar 7, 2023

Updated Makefile to call linkml-run-examples while running make test

@@ -108,7 +108,7 @@ gen-project: $(PYMODEL)
$(RUN) gen-project ${GEN_PARGS} -d $(DEST) $(SOURCE_SCHEMA_PATH) && mv $(DEST)/*.py $(PYMODEL)
{% endif %}

test: test-schema test-python
test: test-schema test-python src/data/output
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it's not a good idea to use a folder as a target

make this test-examples

then have:

test-examples:
   ...

also have the output go to ./examples

@sierra-moxon sierra-moxon merged commit 0758144 into main Mar 7, 2023
@hrshdhgd hrshdhgd deleted the add-run-examples branch March 7, 2023 00:46
@hrshdhgd hrshdhgd mentioned this pull request Mar 7, 2023
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.

3 participants