Skip to content

Commit

Permalink
Merge branch 'master' into fix-build
Browse files Browse the repository at this point in the history
  • Loading branch information
fionnachan authored Sep 26, 2024
2 parents 1947232 + 4f89ac3 commit 4b04a76
Showing 1 changed file with 27 additions and 1 deletion.
28 changes: 27 additions & 1 deletion .github/workflows/e2e-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,33 @@ jobs:
fail-fast: false
matrix:
test: ${{ fromJson(needs.load-e2e-files.outputs.matrix) }}

steps:
- name: Free Disk Space (Ubuntu)
uses: jlumbroso/free-disk-space@54081f138730dfa15788a46383842cd2f914a1be
with:
# this might remove tools that are actually needed,
# if set to "true" but frees about 6 GB
tool-cache: false

# all of these default to true, but feel free to set to
# "false" if necessary for your workflow
android: true
dotnet: true
haskell: true
large-packages: true
docker-images: false
swap-storage: true

# we found on 26 Sep that using Chrome 129 mysteriously broke ci at setupMetamask step
# with the following error: > Cannot read properties of undefined (reading 'waitForTimeout')
# so we are reverting to Chrome 128 on ci
# https://www.ubuntuupdates.org/package_logs?type=ppas&vals=8
- name: Set up Chrome 128
run: |
wget http://dl.google.com/linux/chrome/deb/pool/main/g/google-chrome-stable/google-chrome-stable_128.0.6613.137-1_amd64.deb
sudo apt-get install ./google-chrome-stable_128.0.6613.137-1_amd64.deb
- name: Checkout
uses: actions/checkout@v4

Expand Down Expand Up @@ -78,7 +104,7 @@ jobs:
uses: cypress-io/github-action@8d3918616d8ac34caa2b49afc8b408b6a872a6f5 # [email protected]
with:
start: yarn start
command: "yarn test:e2e${{ (matrix.test.type == 'cctp' && ':cctp') || (matrix.test.type == 'orbit' && ':orbit') || '' }} --browser chromium"
command: "yarn test:e2e${{ (matrix.test.type == 'cctp' && ':cctp') || (matrix.test.type == 'orbit' && ':orbit') || '' }} --browser chrome"
wait-on: http://127.0.0.1:3000
wait-on-timeout: 120
spec: ./packages/arb-token-bridge-ui/tests/e2e/specs/*
Expand Down

0 comments on commit 4b04a76

Please sign in to comment.