From 127e05c21dfa32ea7bbf15de97789c3315d42ef7 Mon Sep 17 00:00:00 2001 From: Iisyourdad Date: Thu, 11 Jun 2026 09:05:41 -0500 Subject: [PATCH] Hopefully make tests work --- .gitea/workflows/tests.yaml | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/tests.yaml b/.gitea/workflows/tests.yaml index bf18544..14d6866 100644 --- a/.gitea/workflows/tests.yaml +++ b/.gitea/workflows/tests.yaml @@ -16,8 +16,28 @@ jobs: - name: Checkout repository uses: https://gitea.com/actions/checkout@v4 + - name: Install Electron system dependencies + run: | + apt-get update + apt-get install -y \ + xvfb \ + libnspr4 \ + libnss3 \ + libatk1.0-0 \ + libatk-bridge2.0-0 \ + libcups2 \ + libdrm2 \ + libgtk-3-0 \ + libx11-xcb1 \ + libxcomposite1 \ + libxdamage1 \ + libxrandr2 \ + libgbm1 \ + libxss1 \ + libasound2 + - name: Install dependencies run: npm ci - name: Run template tests - run: bash tests/run_test.sh + run: xvfb-run -a bash tests/run_test.sh \ No newline at end of file