From f104999800ed91a81b3c54fe67095c33e798a6fe Mon Sep 17 00:00:00 2001 From: litruv Date: Tue, 3 Nov 2026 11:11:46 +1100 Subject: [PATCH] Refresh apt lists before installing xvfb on the runner. --- .gitea/workflows/tests.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/tests.yml b/.gitea/workflows/tests.yml index 32e7f67..e0757ca 100644 --- a/.gitea/workflows/tests.yml +++ b/.gitea/workflows/tests.yml @@ -52,8 +52,9 @@ jobs: working-directory: ./cinny run: npm ci --prefer-offline + # The runner image has no xvfb and no fresh apt lists. - name: Ensure a display for Electron - run: command -v xvfb-run >/dev/null || sudo apt-get install -y xvfb + run: command -v xvfb-run >/dev/null || (sudo apt-get update && sudo apt-get install -y xvfb) - name: Run login E2E run: xvfb-run -a npm run test:e2e