Skip to content

Commit bcb0474

Browse files
authored
Merge pull request #276 from OBOFoundry/run-qc-weekly
Set Integration Testing to Run Monthly
2 parents a94fe98 + 7f94a81 commit bcb0474

File tree

7 files changed

+685
-89
lines changed

7 files changed

+685
-89
lines changed

Diff for: .github/workflows/qc-compliance.yml

+52
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
# Basic ODK workflow
2+
3+
name: QC COB Compliance suite
4+
5+
on:
6+
# Runs once per month
7+
schedule:
8+
- cron: "0 0 1 * *"
9+
10+
# Allows you to run this workflow manually from the Actions tab
11+
workflow_dispatch:
12+
13+
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
14+
jobs:
15+
# This workflow contains a single job called "ontology_qc"
16+
ontology_qc:
17+
# The type of runner that the job will run on
18+
runs-on: ubuntu-latest
19+
container: obolibrary/odkfull:v1.5.2
20+
21+
# Steps represent a sequence of tasks that will be executed as part of the job
22+
steps:
23+
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
24+
- uses: actions/checkout@v2
25+
26+
- name: Run COB Integration test suite
27+
env:
28+
DEFAULT_BRANCH: master
29+
run: cd src/ontology && mkdir -p reports tmp && make ROBOT_ENV='ROBOT_JAVA_ARGS=-Xmx6G' cob_test IMP=false PAT=false -B
30+
31+
- name: Read and crop the contents of SUMMARY.txt
32+
id: read_summary
33+
run: |
34+
summary_content=$(cat products/SUMMARY.txt)
35+
max_length=65500 # Slightly less than the max limit to account for metadata or other content
36+
if [ ${#summary_content} -gt $max_length ]; then
37+
summary_content="${summary_content:0:$max_length}"
38+
summary_content="${summary_content}\n\n...Content cropped due to length limits."
39+
fi
40+
41+
# Wrap the content in a collapsible details block
42+
wrapped_content="<details><summary>Latest integration report</summary>\n\n${summary_content}\n\n</details>"
43+
44+
echo "::set-output name=summary::${wrapped_content}"
45+
shell: bash
46+
47+
- name: Post summary to the issue
48+
run: gh issue comment 278 --body "$SUMMARY_CONTENT"
49+
env:
50+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
51+
SUMMARY_CONTENT: ${{ steps.read_summary.outputs.summary }}
52+

Diff for: .gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -50,3 +50,5 @@ src/ontology/README-editors.md
5050
src/ontology/products/
5151
src/ontology/cob-native.owl
5252
src/ontology/cob.ttl
53+
src/ontology/cob-base-reasoned.owl
54+
src/ontology/cob-examples-reasoned.owl

Diff for: src/ontology/components/cob-annotations.owl

+2-3
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
xmlns:xsd="http://www.w3.org/2001/XMLSchema#"
1010
xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#">
1111
<owl:Ontology rdf:about="http://purl.obolibrary.org/obo/cob/components/cob-annotations.owl">
12-
<owl:versionInfo>2023-11-16</owl:versionInfo>
12+
<owl:versionInfo>2024-08-20</owl:versionInfo>
1313
</owl:Ontology>
1414

1515

@@ -82,7 +82,6 @@
8282
<obo:COB_based_on>http://purl.obolibrary.org/obo/CARO_0001008</obo:COB_based_on>
8383
</rdf:Description>
8484
<rdf:Description rdf:about="http://purl.obolibrary.org/obo/COB_0000022">
85-
<obo:COB_based_on>http://purl.obolibrary.org/obo/CARO_0001010</obo:COB_based_on>
8685
<obo:COB_based_on>http://purl.obolibrary.org/obo/OBI_0100026</obo:COB_based_on>
8786
</rdf:Description>
8887
<rdf:Description rdf:about="http://purl.obolibrary.org/obo/COB_0000025">
@@ -214,5 +213,5 @@
214213

215214

216215

217-
<!-- Generated by the OWL API (version 4.5.26) https://github.com/owlcs/owlapi -->
216+
<!-- Generated by the OWL API (version 4.5.29) https://github.com/owlcs/owlapi -->
218217

Diff for: src/ontology/components/cob-examples.owl

-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
xmlns:skos="http://www.w3.org/2004/02/skos/core#"
1212
xmlns:terms="http://purl.org/dc/terms/">
1313
<owl:Ontology rdf:about="http://purl.obolibrary.org/obo/cob/cob-examples.owl">
14-
<owl:imports rdf:resource="http://purl.obolibrary.org/obo/cob/cob-edit.owl"/>
1514
</owl:Ontology>
1615

1716

Diff for: src/ontology/components/cob-to-external.owl

+25-19
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,9 @@
3636
xmlns:semapv="https://w3id.org/semapv/vocab/"
3737
xmlns:NCBITaxon="http://purl.obolibrary.org/obo/NCBITaxon_">
3838
<owl:Ontology rdf:about="http://purl.obolibrary.org/obo/cob/components/cob-to-external.owl">
39-
<owl:versionIRI rdf:resource="http://purl.obolibrary.org/obo/cob/releases/2024-03-22/components/cob-to-external.owl"/>
39+
<owl:versionIRI rdf:resource="http://purl.obolibrary.org/obo/cob/releases/2024-08-20/components/cob-to-external.owl"/>
4040
<dc1:license rdf:datatype="http://www.w3.org/2001/XMLSchema#anyURI">https://creativecommons.org/publicdomain/zero/1.0/</dc1:license>
41-
<owl:versionInfo>2024-03-22</owl:versionInfo>
41+
<owl:versionInfo>2024-08-20</owl:versionInfo>
4242
<sssom:mapping_set_id rdf:datatype="http://www.w3.org/2001/XMLSchema#anyURI">http://purl.obolibrary.org/obo/cob/components/cob-to-external.tsv</sssom:mapping_set_id>
4343
</owl:Ontology>
4444

@@ -388,6 +388,22 @@
388388

389389

390390

391+
<!-- http://purl.obolibrary.org/obo/COB_0000078 -->
392+
393+
<owl:ObjectProperty rdf:about="http://purl.obolibrary.org/obo/COB_0000078">
394+
<owl:equivalentProperty rdf:resource="http://purl.obolibrary.org/obo/RO_0000059"/>
395+
</owl:ObjectProperty>
396+
<owl:Axiom>
397+
<owl:annotatedSource rdf:resource="http://purl.obolibrary.org/obo/COB_0000078"/>
398+
<owl:annotatedProperty rdf:resource="http://www.w3.org/2002/07/owl#equivalentProperty"/>
399+
<owl:annotatedTarget rdf:resource="http://purl.obolibrary.org/obo/RO_0000059"/>
400+
<sssom:mapping_justification rdf:resource="https://w3id.org/semapv/vocab/ManualMappingCuration"/>
401+
<sssom:object_label>concretizes</sssom:object_label>
402+
<sssom:subject_label>concretizes</sssom:subject_label>
403+
</owl:Axiom>
404+
405+
406+
391407
<!-- http://purl.obolibrary.org/obo/COB_0000086 -->
392408

393409
<owl:ObjectProperty rdf:about="http://purl.obolibrary.org/obo/COB_0000086">
@@ -502,6 +518,12 @@
502518

503519

504520

521+
<!-- http://purl.obolibrary.org/obo/RO_0000059 -->
522+
523+
<owl:ObjectProperty rdf:about="http://purl.obolibrary.org/obo/RO_0000059"/>
524+
525+
526+
505527
<!-- http://purl.obolibrary.org/obo/RO_0002333 -->
506528

507529
<owl:ObjectProperty rdf:about="http://purl.obolibrary.org/obo/RO_0002333"/>
@@ -712,22 +734,6 @@
712734

713735

714736

715-
<!-- http://purl.obolibrary.org/obo/CARO_0001010 -->
716-
717-
<owl:Class rdf:about="http://purl.obolibrary.org/obo/CARO_0001010">
718-
<owl:equivalentClass rdf:resource="http://purl.obolibrary.org/obo/COB_0000022"/>
719-
</owl:Class>
720-
<owl:Axiom>
721-
<owl:annotatedSource rdf:resource="http://purl.obolibrary.org/obo/CARO_0001010"/>
722-
<owl:annotatedProperty rdf:resource="http://www.w3.org/2002/07/owl#equivalentClass"/>
723-
<owl:annotatedTarget rdf:resource="http://purl.obolibrary.org/obo/COB_0000022"/>
724-
<sssom:mapping_justification rdf:resource="https://w3id.org/semapv/vocab/ManualMappingCuration"/>
725-
<sssom:object_label>organism or virus or viroid</sssom:object_label>
726-
<sssom:subject_label>organism</sssom:subject_label>
727-
</owl:Axiom>
728-
729-
730-
731737
<!-- http://purl.obolibrary.org/obo/CARO_0010004 -->
732738

733739
<owl:Class rdf:about="http://purl.obolibrary.org/obo/CARO_0010004">
@@ -2262,5 +2268,5 @@
22622268

22632269

22642270

2265-
<!-- Generated by the OWL API (version 4.5.26) https://github.com/owlcs/owlapi -->
2271+
<!-- Generated by the OWL API (version 4.5.29) https://github.com/owlcs/owlapi -->
22662272

0 commit comments

Comments
 (0)