Skip to content

Commit 41c604d

Browse files
committed
Added more resilient chromium-chromedriver install command.
1 parent 5a43a9c commit 41c604d

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

.github/workflows/checks.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -515,8 +515,11 @@ jobs:
515515
- name: Install Web Dependencies
516516
run: |
517517
sudo apt-get update
518-
# Install xvfb and the specific chromium-chromedriver
519-
sudo apt-get install -y xvfb chromium-chromedriver
518+
# Install xvfb and the specific chromium-chromedriver.
519+
# We use a retry loop to handle transient Snap Store 408 errors often encountered on CI.
520+
for i in {1..3}; do
521+
sudo apt-get install -y xvfb chromium-chromedriver && break || sleep 15
522+
done
520523
521524
- name: Start ChromeDriver & Xvfb
522525
run: |

0 commit comments

Comments
 (0)