Skip to content

Finalization merge of branch 'DDbDP_Editorial_Board/2024/12/13/ngonis… #11916

Finalization merge of branch 'DDbDP_Editorial_Board/2024/12/13/ngonis…

Finalization merge of branch 'DDbDP_Editorial_Board/2024/12/13/ngonis… #11916

name: XML Validation
on: [push, pull_request, workflow_dispatch]
jobs:
Validate_collection_RDF:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: java -jar Validation/jing.jar Validation/rdfxml.rng RDF/collection.rdf
Validate_DDB_EpiDoc_XML:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: sudo apt-get install -y moreutils parallel
- run: find DDB_EpiDoc_XML -name "*.xml" | parallel --gnu --will-cite -X -j8 -u "java -jar Validation/jing.jar Validation/EpiDoc/8.16/tei-epidoc.rng {}"
Validate_HGV_meta_EpiDoc:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: sudo apt-get install -y moreutils parallel
- run: find HGV_meta_EpiDoc -name "*.xml" | parallel --gnu --will-cite -X -j8 -u "java -jar Validation/jing.jar Validation/EpiDoc/8.13/tei-epidoc.rng {}"
Validate_DCLP:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: sudo apt-get install -y moreutils parallel
- run: find DCLP -name "*.xml" | parallel --gnu --will-cite -X -j8 -u "java -jar Validation/jing.jar Validation/EpiDoc/8.23/tei-epidoc.rng {}"
Validate_HGV_trans_EpiDoc:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: sudo apt-get install -y moreutils parallel
- run: find HGV_trans_EpiDoc -name "*.xml" | parallel --gnu --will-cite -X -j8 -u "java -jar Validation/jing.jar Validation/EpiDoc/8.13/tei-epidoc.rng {}"
Validate_APIS:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: sudo apt-get install -y moreutils parallel
- run: find APIS -name "*.xml" | parallel --gnu --will-cite -X -j8 -u "java -jar Validation/jing.jar Validation/EpiDoc/8.13/tei-epidoc.rng {}"