From 4c26d132f8bad9106100a30d24cccac1bcd8dfb2 Mon Sep 17 00:00:00 2001 From: Laura Jaime Date: Wed, 17 Jul 2024 12:13:20 +0200 Subject: [PATCH] Add chromedriver workaround --- .github/workflows/linters.yml | 17 +++++++++++++++++ .github/workflows/test-recaptcha.yml | 17 +++++++++++++++++ .github/workflows/test-top_comments.yml | 17 +++++++++++++++++ .github/workflows/test.yml | 17 +++++++++++++++++ 4 files changed, 68 insertions(+) diff --git a/.github/workflows/linters.yml b/.github/workflows/linters.yml index 174828c6..9c20f209 100644 --- a/.github/workflows/linters.yml +++ b/.github/workflows/linters.yml @@ -37,6 +37,23 @@ jobs: - name: Set bundle local config configvendor/bundle path run: bundle config set --local path 'vendor/bundle' + # chromedriver workaround + - uses: nanasess/setup-chromedriver@v2 + with: + chromedriver-version: 119.0.6045.105 + + - name: List Chrome + shell: "bash" + run: apt list --installed | grep chrome + + - name: Remove Chrome + shell: "bash" + run: sudo apt remove google-chrome-stable + + - uses: browser-actions/setup-chrome@v1 + with: + chrome-version: 119.0.6045.105 + - name: Install Ruby deps uses: nick-invision/retry@v2 with: diff --git a/.github/workflows/test-recaptcha.yml b/.github/workflows/test-recaptcha.yml index e607c1c1..ab319d3d 100644 --- a/.github/workflows/test-recaptcha.yml +++ b/.github/workflows/test-recaptcha.yml @@ -52,6 +52,23 @@ jobs: - name: Set bundle local config configvendor/bundle path run: bundle config set --local path 'vendor/bundle' + # chromedriver workaround + - uses: nanasess/setup-chromedriver@v2 + with: + chromedriver-version: 119.0.6045.105 + + - name: List Chrome + shell: "bash" + run: apt list --installed | grep chrome + + - name: Remove Chrome + shell: "bash" + run: sudo apt remove google-chrome-stable + + - uses: browser-actions/setup-chrome@v1 + with: + chrome-version: 119.0.6045.105 + - name: Install Ruby deps uses: nick-invision/retry@v2 with: diff --git a/.github/workflows/test-top_comments.yml b/.github/workflows/test-top_comments.yml index edd179a3..00cc5b45 100644 --- a/.github/workflows/test-top_comments.yml +++ b/.github/workflows/test-top_comments.yml @@ -52,6 +52,23 @@ jobs: - name: Set bundle local config configvendor/bundle path run: bundle config set --local path 'vendor/bundle' + # chromedriver workaround + - uses: nanasess/setup-chromedriver@v2 + with: + chromedriver-version: 119.0.6045.105 + + - name: List Chrome + shell: "bash" + run: apt list --installed | grep chrome + + - name: Remove Chrome + shell: "bash" + run: sudo apt remove google-chrome-stable + + - uses: browser-actions/setup-chrome@v1 + with: + chrome-version: 119.0.6045.105 + - name: Install Ruby deps uses: nick-invision/retry@v2 with: diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 7fb53ddd..cddba0f9 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -62,6 +62,23 @@ jobs: - name: Set bundle local config configvendor/bundle path run: bundle config set --local path 'vendor/bundle' + # chromedriver workaround + - uses: nanasess/setup-chromedriver@v2 + with: + chromedriver-version: 119.0.6045.105 + + - name: List Chrome + shell: "bash" + run: apt list --installed | grep chrome + + - name: Remove Chrome + shell: "bash" + run: sudo apt remove google-chrome-stable + + - uses: browser-actions/setup-chrome@v1 + with: + chrome-version: 119.0.6045.105 + - name: Install Ruby deps uses: nick-invision/retry@v2 with: