Skip to content

Masonry: Revamp Dynamic Heights (#3890) #9614

Masonry: Revamp Dynamic Heights (#3890)

Masonry: Revamp Dynamic Heights (#3890) #9614

Workflow file for this run

name: Integration Tests (Playwright)
on:
pull_request:
branches:
- master
push:
branches:
- master
jobs:
playwright-run:
name: Test (${{ matrix.shard }})
timeout-minutes: 60
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
shard: ['1/5', '2/5', '3/5', '4/5', '5/5']
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
cache: 'yarn'
- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Install Playwright
run: npx playwright install --with-deps chromium
- name: Run build
run: yarn build
- name: Run your tests
run: |
# Retry 2 times before the steps actually fails
(echo "===== Playwright run attempt: 1 ====" && yarn run playwright:test --workers 2 --shard=${{ matrix.shard }}) || \
(echo "===== Playwright run attempt: 2 ====" && yarn run playwright:test --workers 2 --shard=${{ matrix.shard }}) || \
(echo "==== Playwright run attempt ====" && exit 1)
- name: Upload test results
if: always()
uses: actions/upload-artifact@v4
with:
name: playwright-test-results
path: playwright/test-results/