diff --git a/.github/workflows/htr-united-workflows.yml b/.github/workflows/htr-united-workflows.yml index f268941..701c047 100644 --- a/.github/workflows/htr-united-workflows.yml +++ b/.github/workflows/htr-united-workflows.yml @@ -3,6 +3,8 @@ name: HTR United Workflow 'on': - push - pull_request +permissions: + contents: write jobs: HTRUC: runs-on: ubuntu-latest @@ -35,7 +37,7 @@ jobs: pip install htr-united-metadata-generator htruc anybadge - name: Run Report run: | - humGenerator --parse page --group ./data/**/*.xml --github-envs --to-json updated_metrics.json --chars -n NFD + humGenerator --chars -n NFD --parse page --group ./data/**/*.xml --github-envs --to-json updated_metrics.json cat envs.txt >> $GITHUB_ENV - name: Get HTR United Badge Template if: github.ref == 'refs/heads/master' @@ -62,6 +64,22 @@ jobs: with: bump_version_scheme: patch use_github_release_notes: true + 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/**/*.xml + cat table.csv HTRVX: runs-on: ubuntu-latest steps: @@ -76,4 +94,4 @@ jobs: pip install htrvx - name: Run HTRVX run: | - htrvx --verbose --group --format page --check-empty ./data/**/*.xml + htrvx --verbose --group --format page --check-empty --segmonto --xsd ./data/**/*.xml