From 511b213db2aa6f038009e2303d94ce7fd84d8b88 Mon Sep 17 00:00:00 2001 From: Otto Richter Date: Thu, 24 Oct 2024 22:42:21 +0200 Subject: [PATCH] tests(e2e): skip browser downloads The browser versions are updated weekly in the cache, see https://code.forgejo.org/forgejo/playwright-image-builder When they change between the runs, they are refreshed for each CI run (see https://codeberg.org/forgejo/forgejo/actions/runs/35651/jobs/3#jobstep-7-19 for an example). Updating the browsers weekly is good enough, so skip the explicit update check here. Related playwright documentation: https://playwright.dev/docs/library#browser-downloads --- .forgejo/workflows/testing.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.forgejo/workflows/testing.yml b/.forgejo/workflows/testing.yml index 2801b9ef74..30d765ab30 100644 --- a/.forgejo/workflows/testing.yml +++ b/.forgejo/workflows/testing.yml @@ -119,6 +119,7 @@ jobs: timeout-minutes: 40 env: USE_REPO_TEST_DIR: 1 + PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: 1 CHANGED_FILES: ${{steps.changed-files.outputs.all_changed_files}} test-remote-cacher: if: ${{ !startsWith(vars.ROLE, 'forgejo-') }}