From 4c5862b7809c17129ef23a3f7eaf4ad52f4fbfed Mon Sep 17 00:00:00 2001 From: helenasabel Date: Tue, 10 Sep 2024 19:13:15 +0200 Subject: [PATCH] fix(ci): get xslt dependency from released version of atop --- .github/workflows/ci.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 445fbbf..f2b5a3c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -41,10 +41,11 @@ jobs: wget "https://github.com/Saxonica/Saxon-HE/releases/download/SaxonHE11-6/SaxonHE11-6J.zip" unzip SaxonHE11-6J.zip rm SaxonHE11-6J.zip + wget "https://github.com/TEIC/atop/releases/download/v0.1.0a/atop_0_1_0a_2023-10-11.zip" + unzip atop_0_1_0a_2023-10-11.zip + rm atop_0_1_0a_2023-10-11.zip wget "https://github.com/schxslt/schxslt/releases/download/v1.9.5/schxslt-cli.jar" wget "https://tei-c.org/Vault/Stylesheets/current/xml/tei/stylesheet/odds/odd2odd.xsl" - wget "https://raw.githubusercontent.com/TEIC/atop/dev/XSLT/extract-schematron.xslt" - # TODO: atop will do a partial released soon: at that moment the link to extract-schematron.xslt will be updated # VALIDATION - name: Download schema from TEI release @@ -53,7 +54,7 @@ jobs: # - name: Validate ODDs against the tei_odds.rng schema # run: | # xmllint --noout --nowarning --relaxng tei_odds.rng tei-betamesaheft.xml - # xmllint --noout --nowarning --relaxng tei_odds.rng tei-betamesaheft-epanded.xml + # xmllint --noout --nowarning --relaxng tei_odds.rng tei-betamesaheft-expanded.xml - name: Validate ODDs against the tei_odds.rng schema run: | @@ -62,7 +63,7 @@ jobs: # Validate Schematron from the main ODD. # We first retrieved the schematron rules of the tei_odds.rng schema using Saxon - name: Extract Schematron rules from tei_odds.rng - run: java -jar lib/saxon-he-11.6.jar -s:tei_odds.rng -xsl:lib/extract-schematron.xslt -o:tei_odds.sch + run: java -jar lib/saxon-he-11.6.jar -s:tei_odds.rng -xsl:lib/XSLT/extract-schematron.xslt -o:tei_odds.sch # We use schxslt to validate the main ODD against the schematron rules from tei_odds.rng - name: Generation of Schematron reports from both ODDs run: |