Repository navigation
Corpus round-trip #11
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Corpus round-trip | |
| on: | |
| schedule: | |
| - cron: "17 4 * * 1" # Mondays 04:17 UTC | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| jobs: | |
| corpus: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 45 | |
| steps: | |
| - name: Check out | |
| uses: actions/checkout@v4 | |
| - name: Set up the environment | |
| uses: ./.github/actions/setup-python-env | |
| - name: Install LibreOffice and pandoc | |
| run: sudo apt-get update && sudo apt-get install -y --no-install-recommends libreoffice-writer pandoc | |
| - name: Assemble corpus | |
| run: uv run python benchmarks/corpus/build_corpus.py | |
| - name: Run round-trip harness | |
| run: uv run python benchmarks/corpus/corpus_harness.py | |
| - name: Upload results | |
| uses: actions/upload-artifact@v4 | |
| if: always() | |
| with: | |
| name: corpus-results | |
| path: benchmarks/corpus/results.json |