quality checks #102
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: quality checks | |
on: | |
push: | |
branches: | |
- develop-3.0.0 | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
ref: develop-3.0.0 | |
path: main | |
- name: quality checks | |
run: | | |
curl -L -o robot.jar "https://github.com/ontodev/robot/releases/latest/download/robot.jar" | |
java -jar robot.jar --version | |
java -jar robot.jar merge --catalog main/src/ontology/catalog-v001.xml --input main/src/ontology/pmdco-edit.owl --output main/pmd-core-merged.ttl | |
java -jar robot.jar validate-profile --profile DL --input main/pmd-core-merged.ttl --output validation.txt | |
cat validation.txt | |
java -jar robot.jar verify --input main/pmd-core-merged.ttl --queries main/.github/workflow_resources/qc-queries/label-missing.sparql | |
#java -jar robot.jar verify --input main/pmd-core-merged.ttl --queries main/.github/workflow_resources/qc-queries/isdefinedby-missing.sparql | |
java -jar robot.jar verify --input main/pmd-core-merged.ttl --queries main/.github/workflow_resources/qc-queries/https-missing.sparql | |
java -jar robot.jar verify --input main/pmd-core-merged.ttl --queries main/.github/workflow_resources/qc-queries/description-missing.sparql | |