Skip to content

Commit d578183

Browse files
committed
Adapt prefix test for CI process
Signed-off-by: Alex Nelson <alexander.nelson@nist.gov>
1 parent c6d4f8b commit d578183

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424

2525
- name: Install Dependencies
2626
run: |
27-
pip -q install poetry pre-commit
27+
pip -q install poetry pre-commit rdflib
2828
poetry install
2929
3030
- name: Pre-commit Checks
@@ -44,6 +44,11 @@ jobs:
4444
case-version: "case-1.3.0"
4545
extension-filter: "jsonld"
4646

47+
- name: Convert example
48+
run: |
49+
rdfpipe --output-format turtle case.jsonld > case.ttl
50+
test 0 -eq $(grep 'file:' case.ttl | wc -l) || (echo "ERROR:ci.yml:Some graph IRIs do not supply a resolving prefix. Look for the string 'file:///' in the file case.ttl (created by running 'make check') to see these instances." >&2 ; exit 1)
51+
4752
# Always build the package as a sanity check to ensure no issues with the build system
4853
# exist as part of the CI process
4954
- name: Build Package

0 commit comments

Comments
 (0)