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

Convert LinkML to ttl during poetry install and poetry run pytest #7

Open
wants to merge 8 commits into
base: feat/linkml
Choose a base branch
from

Conversation

dnlbauer
Copy link

@dnlbauer dnlbauer commented Nov 6, 2024

This adds the functionality to automatically convert linkml definitions to shacl files during the install process.

There is a build script build.py that walks through the profiles and converts all linkml files it can find to shacl if the linkml version is newer than the shacl one. It can be triggered by running poetry install or by manually running build.py.
I also made sure it is running before any unit test to be sure they are executed against the newest defintions.

Co-authored-by: Eli Chadwick <[email protected]>
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