Skip to content

Commit f919dd8

Browse files
Anita Caronanitacaron
Anita Caron
andauthored
Add QC workflow (#108)
* update robot version * simplify dashboard-config * add qc workflow * add robot install to qc workflow * fix run to install robot * add robot to system path --------- Co-authored-by: Anita Caron <[email protected]>
1 parent ae4e497 commit f919dd8

File tree

3 files changed

+82
-47
lines changed

3 files changed

+82
-47
lines changed

.github/workflows/qc.yml

+30
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: QC
2+
3+
on:
4+
push:
5+
branches: [ master ]
6+
pull_request:
7+
branches: [ master ]
8+
9+
jobs:
10+
qc:
11+
name: QC
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: actions/checkout@v2
15+
- name: Set up Python
16+
uses: actions/setup-python@v2
17+
with:
18+
python-version: "3.10"
19+
- name: Install dependencies
20+
run:
21+
pip install -r requirements.txt
22+
- name: Install ROBOT
23+
run: |
24+
make build/robot.jar
25+
make build/robot
26+
chmod +x build/robot
27+
echo "$PWD/build" >> $GITHUB_PATH
28+
- name: Run dashboard
29+
run:
30+
python ./util/dashboard_config.py rundashboard -C dashboard-config.yml

Makefile

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
MAKEFLAGS += --warn-undefined-variables
22
ROBOT_JAR := build/robot.jar
33
REPORT_LENGTH_LIMIT := 200
4-
ROBOT_URL := "https://github.com/ontodev/robot/releases/download/v1.8.3/robot.jar"
4+
ROBOT_URL := "https://github.com/ontodev/robot/releases/download/v1.9.5/robot.jar"
5+
ROBOT_SCRIPT := "https://raw.githubusercontent.com/ontodev/robot/v1.9.5/bin/robot"
56
DASHBOARD_RESULTS := "dashboard/dashboard-results.yml"
67

78
# ----------------- #
@@ -42,6 +43,9 @@ ROBOT := java -Xmx10G -jar build/robot.jar
4243
build/robot.jar: | build
4344
curl -o $@ -Lk $(ROBOT_URL)
4445

46+
build/robot:
47+
curl -o $@ -Lk $(ROBOT_SCRIPT)
48+
4549
# ------------------------- #
4650
### EXTERNAL DEPENDENCIES ###
4751
# ------------------------- #

dashboard-config.yml

+47-46
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,9 @@ obo_score_weights:
3434
ontologies:
3535
#registry: "https://raw.githubusercontent.com/OBOFoundry/OBOFoundry.github.io/master/registry/ontologies.yml"
3636
custom:
37-
- id: genepio
37+
- id: agro
38+
- id: omo
39+
#- id: genepio
3840
# - id: covoc
3941
# mirror_from: "https://raw.githubusercontent.com/EBISPOT/covoc/master/covoc.owl"
4042
# license:
@@ -43,51 +45,50 @@ ontologies:
4345
# url: http://creativecommons.org/licenses/by/4.0/
4446
# - id: testx
4547
# - id: wbphenotype
46-
- id: gombo
47-
mirror_from: "https://raw.githubusercontent.com/BridgetSquidget/gombo/main/gombo_v1.owx"
48-
title: General Ontology for Marine Bioluminescent Organs
49-
contact:
50-
51-
label: Bridget Vincent
52-
description: An ontology describing the structures in the bioluminescent components of marine animals.
53-
domain: anatomy
54-
homepage: https://github.com/BridgetSquidget/gombo/blob/main/gombo_v1.owx
55-
products:
56-
- id: gombo.owl
57-
- id: gombo.obo
58-
dependencies:
59-
- id: uberon
60-
- id: afm
61-
- id: cl
62-
- id: ncit
63-
- id: fma
64-
- id: spd
65-
- id: zfa
66-
- id: plana
67-
- id: go
68-
- id: chebi
69-
- id: ms
70-
- id: bao
71-
- id: ogi
72-
- id: scdo
73-
- id: so
74-
- id: pr
75-
- id: obi
76-
- id: txpo
77-
- id: xco
78-
- id: mod
79-
- id: nbitaxon
80-
- id: ceph
81-
- id: xao
82-
- id: emapa
83-
- id: aeo
84-
- id: mc
85-
- id: mpath
86-
tracker: https://github.com/BridgetSquidget/gombo/issues
87-
license:
88-
url: https://creativecommons.org/licenses/by/4.0/
89-
label: CC BY 4.0
90-
- id: omo
48+
# - id: gombo
49+
# mirror_from: "https://raw.githubusercontent.com/BridgetSquidget/gombo/main/gombo_v1.owx"
50+
# title: General Ontology for Marine Bioluminescent Organs
51+
# contact:
52+
53+
# label: Bridget Vincent
54+
# description: An ontology describing the structures in the bioluminescent components of marine animals.
55+
# domain: anatomy
56+
# homepage: https://github.com/BridgetSquidget/gombo/blob/main/gombo_v1.owx
57+
# products:
58+
# - id: gombo.owl
59+
# - id: gombo.obo
60+
# dependencies:
61+
# - id: uberon
62+
# - id: afm
63+
# - id: cl
64+
# - id: ncit
65+
# - id: fma
66+
# - id: spd
67+
# - id: zfa
68+
# - id: plana
69+
# - id: go
70+
# - id: chebi
71+
# - id: ms
72+
# - id: bao
73+
# - id: ogi
74+
# - id: scdo
75+
# - id: so
76+
# - id: pr
77+
# - id: obi
78+
# - id: txpo
79+
# - id: xco
80+
# - id: mod
81+
# - id: nbitaxon
82+
# - id: ceph
83+
# - id: xao
84+
# - id: emapa
85+
# - id: aeo
86+
# - id: mc
87+
# - id: mpath
88+
# tracker: https://github.com/BridgetSquidget/gombo/issues
89+
# license:
90+
# url: https://creativecommons.org/licenses/by/4.0/
91+
# label: CC BY 4.0
9192
prefer_base: True
9293
profile:
9394
baseprofile: "https://raw.githubusercontent.com/ontodev/robot/master/robot-core/src/main/resources/report_profile.txt"

0 commit comments

Comments
 (0)