Skip to content

Update PRS14592John.xml #419

Update PRS14592John.xml

Update PRS14592John.xml #419

Workflow file for this run

name: Validate Push
on:
push:
branches:
- master
defaults:
run:
shell: bash
working-directory: project
jobs:
validate-all-and-build:
runs-on: ubuntu-latest
steps:
# checkout code
- name: Checkout
uses: actions/checkout@v4
with:
path: project
# checkout schema as xmllint can't https
- name: Checkout schema repo
uses: actions/checkout@v4
with:
repository: BetaMasaheft/Schema
path: schema
- name: Install Test Dependencies
run: |
sudo apt-get update
sudo apt-get install -y libxml2-utils
# validate all TEI-files in chunks
- name: Validate files
run: |
find . -type f -name '*.xml' \
-not -name 'facsimile*' \
-not -name 'transkribus*' \
-not -name 'build.xml' \
-not -name 'repo.xml' \
-not -name 'expath-pkg.xml' \
-print0 | \
xargs -0 \
xmllint --noout --xinclude --nowarning \
--relaxng ../schema/tei-betamesaheft.rng 2>&1 | \
{ grep 'fails to validate' || :; }
- name: Build Expath Package
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 8
- run: ant