From a27afa6c04ff7766844be87c476e4013449c03df Mon Sep 17 00:00:00 2001 From: Michael Vasseur <14887731+vmcj@users.noreply.github.com> Date: Sun, 8 Dec 2024 00:37:59 +0100 Subject: [PATCH] Store the logo as we use it in tests --- .github/jobs/baseinstall.sh | 3 +++ .github/workflows/unit-tests.yml | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/jobs/baseinstall.sh b/.github/jobs/baseinstall.sh index f19ee5fc4d..f3d8db996c 100755 --- a/.github/jobs/baseinstall.sh +++ b/.github/jobs/baseinstall.sh @@ -54,6 +54,9 @@ else --enable-judgehost-build=no | tee "$ARTIFACTS"/configure.txt make domserver make install-domserver + rm -rf /opt/domjudge/domserver/webapp/public/doc + cp -r doc /opt/domjudge/domserver/webapp/public/ + find /opt/domjudge/domserver -name DOMjudgelogo.pdf fi section_end diff --git a/.github/workflows/unit-tests.yml b/.github/workflows/unit-tests.yml index b87b28c343..5a0ee47238 100644 --- a/.github/workflows/unit-tests.yml +++ b/.github/workflows/unit-tests.yml @@ -10,7 +10,7 @@ on: jobs: check-static-codecov: - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 steps: - uses: actions/checkout@v4 - name: Download latest codecov upload script @@ -61,7 +61,7 @@ jobs: uses: EnricoMi/publish-unit-test-result-action@v2 if: ${{ !cancelled() }} with: - files: /tmp/artifacts/unit-tests.xml + files: unit-tests.xml - name: Get SQL logs run: docker logs "${{ job.services.sqlserver.id }}" - name: Collect docker logs on failure