Skip to content

Commit

Permalink
feat: Use a chrome binary that won't auto-upgrade itself (#802)
Browse files Browse the repository at this point in the history
  • Loading branch information
welps authored Jul 25, 2023
1 parent 965194b commit 769ec2a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
5 changes: 2 additions & 3 deletions .github/actions/testSetup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,8 @@ runs:
# start xvfb in the background
sudo /usr/bin/Xvfb $DISPLAY -screen 0 1280x1024x24 &
- name: Install chrome
uses: browser-actions/setup-chrome@latest
with:
chrome-version: 'stable'
shell: 'bash'
run: npx @puppeteer/browsers install chrome@stable
- name: Install Anvil
uses: foundry-rs/foundry-toolchain@v1
with:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ jobs:
run: |
export BROWSER=chrome
export OS=linux
export CHROMIUM_BIN=$(which chrome)
export CHROMIUM_BIN=$(find chrome -type f -name 'chrome')
yarn vitest:parallel --retry=5
chrome-e2e-swap:
runs-on: beefy-runner-bx
Expand All @@ -105,7 +105,7 @@ jobs:
command: |
export BROWSER=chrome
export OS=linux
export CHROMIUM_BIN=$(which chrome)
export CHROMIUM_BIN=$(find chrome -type f -name 'chrome')
yarn vitest:swap
chrome-e2e-send:
runs-on: beefy-runner-bx
Expand All @@ -123,7 +123,7 @@ jobs:
run: |
export BROWSER=chrome
export OS=linux
export CHROMIUM_BIN=$(which chrome)
export CHROMIUM_BIN=$(find chrome -type f -name 'chrome')
yarn vitest:send --retry=5
chrome-e2e-dappInteractions:
runs-on: beefy-runner-bx
Expand All @@ -141,7 +141,7 @@ jobs:
run: |
export BROWSER=chrome
export OS=linux
export CHROMIUM_BIN=$(which chrome)
export CHROMIUM_BIN=$(find chrome -type f -name 'chrome')
yarn vitest:dappInteractions --retry=5
# BRAVE TESTS
# brave-e2e:
Expand Down

0 comments on commit 769ec2a

Please sign in to comment.