Skip to content

Commit

Permalink
Merge pull request #15 from HTR-United/addpage
Browse files Browse the repository at this point in the history
XML files moved to **/page/ were actually ALTO files...
  • Loading branch information
alix-tz authored Feb 8, 2024
2 parents d6be049 + 40b74d9 commit 6558867
Show file tree
Hide file tree
Showing 219 changed files with 309,884 additions and 524,618 deletions.
13 changes: 9 additions & 4 deletions .github/workflows/htr-united-workflows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
pip install htr-united-metadata-generator htruc anybadge
- name: Run Report
run: |
humGenerator --chars -n NFD --parse page --group ./data/**/page/*.xml --github-envs --to-json updated_metrics.json
humGenerator --chars -n NFD --parse alto --group ./data/*/alto/*.xml --github-envs --to-json updated_metrics.json
cat envs.txt >> $GITHUB_ENV
- name: Get HTR United Badge Template
if: github.ref == 'refs/heads/main'
Expand All @@ -61,6 +61,11 @@ jobs:
git add htr-united.yml ./badges/
git commit -m "[Automatic] Update the Catalog & the Badges" || echo "Nothing to commit"
git push || echo "Nothing to push"
- uses: rymndhng/release-on-push-action@master
if: ${{ github.ref == 'refs/heads/main' && github.event_name == 'push' }}
with:
bump_version_scheme: patch
use_github_release_notes: true
ChocoMufin:
runs-on: ubuntu-latest
steps:
Expand All @@ -75,7 +80,7 @@ jobs:
pip install chocomufin
- name: Run ChocoMufin
run: |
chocomufin generate table.csv ./data/**/page/*.xml
chocomufin generate table.csv ./data/*/alto/*.xml
cat table.csv
HTRVX:
runs-on: ubuntu-latest
Expand All @@ -91,6 +96,6 @@ jobs:
pip install htrvx
- name: Run HTRVX
run: |
htrvx --verbose --group --format page --check-empty --xsd ./data/**/page/*.xml
htrvx --verbose --group --format alto --check-empty --xsd ./data/**/alto/*.xml
htrvx --verbose --group --format alto --check-empty --xsd ./data/*/alto/*.xml
# htrvx --verbose --group --format page --check-empty --xsd ./data/*/page/*.xml

Loading

0 comments on commit 6558867

Please sign in to comment.