Skip to content

Commit

Permalink
updated workflow specs
Browse files Browse the repository at this point in the history
  • Loading branch information
alix-tz committed Feb 8, 2024
1 parent f6ff021 commit aff8c17
Showing 1 changed file with 24 additions and 2 deletions.
26 changes: 24 additions & 2 deletions .github/workflows/htr-united-workflows.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@


# This file has been generated automatically with HTR-United <3 Github Actions form
name: HTR United Workflow
'on':
- push
- pull_request
permissions:
contents: write
jobs:
HTRUC:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -35,7 +39,7 @@ jobs:
pip install htr-united-metadata-generator htruc anybadge
- name: Run Report
run: |
humGenerator --parse alto --group ./data/**/*.xml --github-envs --to-json updated_metrics.json --chars -n NFD
humGenerator --chars -n NFD --parse page --group ./data/**/page/*.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 @@ -57,6 +61,22 @@ 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"
ChocoMufin:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.8
uses: actions/setup-python@v2
with:
python-version: 3.8
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install chocomufin
- name: Run ChocoMufin
run: |
chocomufin generate table.csv ./data/**/page/*.xml
cat table.csv
HTRVX:
runs-on: ubuntu-latest
steps:
Expand All @@ -71,4 +91,6 @@ jobs:
pip install htrvx
- name: Run HTRVX
run: |
htrvx --verbose --group --format page --check-empty ./data/**/*.xml
htrvx --verbose --group --format page --check-empty --xsd ./data/**/page/*.xml
htrvx --verbose --group --format alto --check-empty --xsd ./data/**/alto/*.xml

0 comments on commit aff8c17

Please sign in to comment.