Skip to content
This repository was archived by the owner on Aug 18, 2023. It is now read-only.

Example pipeline to ensure that a specific term is present at release… #7

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

matentzn
Copy link
Collaborator

… time

When the release is run, this is run as part of qc

… time

When the release is run, this is run as part of qc
ensure_terms_%: %
$(ROBOT) query -i $< --query ../sparql/ensure-terms-$<.sparql ensure-terms-$<.txt && grep -q true ensure-terms-$<.txt

test: ensure_terms_hpo_slim.owl
Copy link
Contributor

Choose a reason for hiding this comment

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

There is already a test rule in line 35. Should they be merged?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Not necessary in make: this is simply extending the respective make target test, so it i=ensures that the ensure_terms test is also run when when test is run. I changed this now to all to ensure that the test is run always run when a release is run!

Copy link
Contributor

Choose a reason for hiding this comment

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

Oh, I see. Thanks for clarifying.

ensure_terms_%: %
$(ROBOT) query -i $< --query ../sparql/ensure-terms-$<.sparql ensure-terms-$<.txt && grep -q true ensure-terms-$<.txt

test: ensure_terms_hpo_slim.owl
Copy link
Contributor

Choose a reason for hiding this comment

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

Oh, I see. Thanks for clarifying.

@amnonkhen
Copy link
Contributor

Hi @matentzn
Is this going to be merged?

@matentzn
Copy link
Collaborator Author

I was thinking as this is not urgent to wait till Zoe is back and have here merge it - maybe she wants it a bit different..

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants