From 3769d16bc7af42ed721d42eee29bb9cf8fd87cd1 Mon Sep 17 00:00:00 2001 From: "Thomas Neep (Advanced Research Computing)" Date: Tue, 29 Jul 2025 11:15:22 +0100 Subject: [PATCH 1/3] Change to run Pa11y --- .github/workflows/ci-pa11y.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci-pa11y.yml b/.github/workflows/ci-pa11y.yml index 1d68398..a1dcaee 100644 --- a/.github/workflows/ci-pa11y.yml +++ b/.github/workflows/ci-pa11y.yml @@ -25,7 +25,7 @@ jobs: python -m pip install --upgrade pip pip install -r requirements.txt pip install -r requirements-test.txt - - name: Run Tests + - name: Run Pa11y-CI Tests run: | cd agate mv core/local_settings.test.py core/local_settings.py From 3dd41f3c4e8de81e3740f2445e2303d05f10bfa2 Mon Sep 17 00:00:00 2001 From: "Thomas Neep (Advanced Research Computing)" Date: Tue, 29 Jul 2025 11:37:13 +0100 Subject: [PATCH 2/3] Try adding puppeter executable path --- .github/workflows/ci-pa11y.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/ci-pa11y.yml b/.github/workflows/ci-pa11y.yml index a1dcaee..64aaafe 100644 --- a/.github/workflows/ci-pa11y.yml +++ b/.github/workflows/ci-pa11y.yml @@ -26,6 +26,8 @@ jobs: pip install -r requirements.txt pip install -r requirements-test.txt - name: Run Pa11y-CI Tests + env: + PUPPETEER_EXECUTABLE_PATH: /usr/bin/google-chrome run: | cd agate mv core/local_settings.test.py core/local_settings.py From a8173a3cc989db59847d24a020eab9b38a4abe05 Mon Sep 17 00:00:00 2001 From: "Thomas Neep (Advanced Research Computing)" Date: Tue, 29 Jul 2025 11:39:13 +0100 Subject: [PATCH 3/3] Add comment about path to chrome --- .github/workflows/ci-pa11y.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci-pa11y.yml b/.github/workflows/ci-pa11y.yml index 64aaafe..227d1b2 100644 --- a/.github/workflows/ci-pa11y.yml +++ b/.github/workflows/ci-pa11y.yml @@ -27,6 +27,7 @@ jobs: pip install -r requirements-test.txt - name: Run Pa11y-CI Tests env: + # Path to chrome on GitHub action runners PUPPETEER_EXECUTABLE_PATH: /usr/bin/google-chrome run: | cd agate