-
Notifications
You must be signed in to change notification settings - Fork 1
Example pipeline to ensure that a specific term is present at release… #7
base: master
Are you sure you want to change the base?
Conversation
… time When the release is run, this is run as part of qc
src/ontology/Makefile
Outdated
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 |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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!
There was a problem hiding this comment.
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.
src/ontology/Makefile
Outdated
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 |
There was a problem hiding this comment.
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.
Hi @matentzn |
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.. |
… time
When the release is run, this is run as part of qc