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