Skip to content

Commit 5ec6ff7

Browse files
authored
Merge branch 'develop' into fullexample
2 parents 0c7504e + 8655743 commit 5ec6ff7

File tree

2 files changed

+1
-15
lines changed

2 files changed

+1
-15
lines changed

.github/workflows/validate_examples.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
cache: "pip"
2222
- name: Install Python dependencies
2323
run: |
24-
python3 -m pip install check-jsonschema==0.31.0 pyshacl==0.30.0 spdx3-validate==0.0.5
24+
python3 -m pip install check-jsonschema==0.34.1 spdx3-validate==0.0.5
2525
- name: Install dependencies
2626
run: |
2727
sudo apt install -y gawk

bin/check-examples.sh

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ echo "RDF resolved : $(curl -I "$RDF_URL" 2>/dev/null | grep -i "location:"
2929
echo "Context : $CONTEXT_URL"
3030
echo "Context resolved : $(curl -I "$CONTEXT_URL" 2>/dev/null | grep -i "location:" | awk '{print $2}')"
3131
echo "$(check-jsonschema --version)"
32-
echo -n "$(pyshacl --version)"
3332
echo "spdx3-validate version: $(spdx3-validate --version)"
3433
echo ""
3534

@@ -41,14 +40,6 @@ check_schema() {
4140
"$1"
4241
}
4342

44-
check_model() {
45-
echo "Checking model (pyschacl): $1"
46-
pyshacl \
47-
--shacl $RDF_URL \
48-
--ont-graph $RDF_URL \
49-
"$1"
50-
}
51-
5243
check_spdx() {
5344
echo "SPDX 3 Validating (spdx3-validate): $1"
5445
spdx3-validate --json $1
@@ -59,8 +50,6 @@ if [ "$(ls $THIS_DIR/../$JSON_DIR/*.json 2>/dev/null)" ]; then
5950
for f in $THIS_DIR/../$JSON_DIR/*.json; do
6051
check_schema $f
6152
echo ""
62-
check_model $f
63-
echo ""
6453
check_spdx $f
6554
echo ""
6655
done
@@ -117,9 +106,6 @@ HEREDOC
117106
done
118107

119108
echo "{}]" >> $COMBINED_JSON
120-
121-
check_model $COMBINED_JSON
122-
echo ""
123109
check_spdx $COMBINED_JSON
124110
echo ""
125111
done

0 commit comments

Comments
 (0)