Skip to content

Commit

Permalink
Merge pull request #20 from HTR-United/fix-workflow
Browse files Browse the repository at this point in the history
Update htr-united-workflows.yml
  • Loading branch information
alix-tz authored Nov 18, 2023
2 parents 7a28734 + 30f1917 commit 0c368a7
Showing 1 changed file with 25 additions and 1 deletion.
26 changes: 25 additions & 1 deletion .github/workflows/htr-united-workflows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ name: HTR United Workflow
'on':
- push
- pull_request
permissions:
contents: write
jobs:
HTRUC:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -35,7 +37,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 alto --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/main'
Expand All @@ -57,6 +59,27 @@ 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:
- 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:
Expand All @@ -72,3 +95,4 @@ jobs:
- name: Run HTRVX
run: |
htrvx --verbose --group --format alto --check-empty --segmonto --xsd ./data/**/*.xml

0 comments on commit 0c368a7

Please sign in to comment.