From 6b64b42c420a5c7bc35ff5c8eeac772514e8dbaf Mon Sep 17 00:00:00 2001 From: Steffen Becker Date: Sat, 15 Aug 2026 21:59:31 +0200 Subject: [PATCH] ci: run the LibreOffice round-trip leg in its own job The leg self-skips wherever soffice is absent, so until now it only ran when someone remembered to locally. A parallel job installs libreoffice-writer + fonts-liberation and runs npm run test:lo. --- .github/workflows/ci.yml | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 09ca765..195e56e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -22,9 +22,23 @@ jobs: cache: npm - run: npm ci - run: npm run check - # LibreOffice is not installed here, so the lo-roundtrip suite self-skips. + # LibreOffice is not installed here, so the lo-roundtrip suite self-skips + # (the lo-roundtrip job below runs that leg). - run: npm test + # The re-save-through-LibreOffice leg, which self-skips everywhere soffice is absent. + lo-roundtrip: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 + with: + node-version: 20 + cache: npm + - run: sudo apt-get update && sudo apt-get install -y --no-install-recommends libreoffice-writer fonts-liberation + - run: npm ci + - run: npm run test:lo + # Production build booted in headless Chromium — catches bundling and boot # regressions the jsdom suite cannot see. smoke: