Skip to content

Commit

Permalink
Add a workflow to validate the ontology
Browse files Browse the repository at this point in the history
  • Loading branch information
arteymix committed Nov 26, 2023
1 parent 42c7548 commit d8d0115
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/validate.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
name: Validate TGEMO.OWL
on: [push]
jobs:
validate:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4.1.1
- name: Download ROBOT
run: wget -O robot.jar https://github.com/ontodev/robot/releases/download/v1.9.5/robot.jar
- name: Validate TGEMO.OWL
run: make check
7 changes: 7 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
ROBOT := java -jar robot.jar

all: TGEMO.OBO

TGEMO.OBO: TGEMO.OWL
$(ROBOT) convert --format obo --input $^ --output $@

check: TGEMO.OWL
$(ROBOT) validate-profile --profile Full --input $^

.PHONY: all check

0 comments on commit d8d0115

Please sign in to comment.