Skip to content

Commit d781cf5

Browse files
committed
fix: don't have a release - still do validation
1 parent c64e5b7 commit d781cf5

1 file changed

Lines changed: 13 additions & 14 deletions

File tree

.github/workflows/checks.yml

Lines changed: 13 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
1-
name: quality and correctness checks on the schema
1+
name: SHACL validation
22

33
on:
4+
pull_request:
5+
paths:
6+
- 'schema/**'
7+
48
workflow_call:
59
inputs:
610
is_release:
711
required: true
812
type: boolean
913

10-
pull_request:
11-
branches:
12-
- '**'
13-
1414
jobs:
15-
quality_checks:
15+
validate:
1616
runs-on: ubuntu-latest
1717

1818
steps:
@@ -28,13 +28,12 @@ jobs:
2828
run: |
2929
python -m pip install --upgrade pip
3030
pip install -r tools/python/requirements.txt
31-
32-
- name: Download schema bundle
33-
uses: actions/download-artifact@v4
34-
with:
35-
name: schema-bundle
36-
path: build/
37-
38-
- name: Shape validation
31+
32+
- name: Build ontology bundle
33+
run: |
34+
bash ./tools/bash/build/create-combined-turtle.sh src/imaging-ontology/
35+
python ./tools/python/build/create-schemas.py
36+
37+
- name: SHACL validation
3938
run: |
4039
python tools/python/checks/shacl.py

0 commit comments

Comments
 (0)