From afbac96eaf9bc4211724fe621b2e6acbc534dadf Mon Sep 17 00:00:00 2001 From: Vilius Sutkus '89 Date: Tue, 3 Sep 2024 17:16:24 +0300 Subject: [PATCH] Remove pdf2htmlEX ad wvWare from reference outputs, when running tests on NOT linux --- .github/workflows/build_test.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.github/workflows/build_test.yml b/.github/workflows/build_test.yml index 38b52ce9..b976ed16 100644 --- a/.github/workflows/build_test.yml +++ b/.github/workflows/build_test.yml @@ -185,6 +185,18 @@ jobs: token: ${{ secrets.PAT_ANDIWAND }} submodules: true + # @TODO: Solve this somehow better + # pdf2htmlEX and wvWare is available only on Linux (and Android) + # This means that odr_test will not produce outputs pdf2htmlEX and wvWare outputs to match what's in + # reference-outputs directory. Remove these from reference outputs, for now. + - name: Remove pdf2htmlEX and wvWare from reference outputs + if: runner.os != 'Linux' + run: | + rm -r \ + test/data/reference-output/odr-private/output/pdf2htmlEX \ + test/data/reference-output/odr-public/output/pdf2htmlEX \ + test/data/reference-output/odr-public/output/wvWare + - name: ubuntu install tidy if: runner.os == 'Linux' run: sudo apt install tidy