fix timeout workflows

This commit is contained in:
Lendemor 2024-08-23 19:01:49 +02:00
parent d4184d6d10
commit 821e529572
2 changed files with 9 additions and 5 deletions

View File

@ -52,7 +52,7 @@ jobs:
SCREENSHOT_DIR: /tmp/screenshots
REDIS_URL: ${{ matrix.state_manager == 'redis' && 'redis://localhost:6379' || '' }}
with:
timeout_minutes: 25
timeout_minutes: 30
max_attempts: 2
command: |
poetry run playwright install --with-deps

View File

@ -156,10 +156,14 @@ jobs:
working-directory: ./reflex-web
run: poetry run reflex init
- name: Run Website and Check for errors
run: |
# Check that npm is home
npm -v
poetry run bash scripts/integration.sh ./reflex-web prod
uses: nick-fields/retry@v3
with:
timeout_minutes: 30
max_attempts: 2
command: |
# Check that npm is home
npm -v
poetry run bash scripts/integration.sh ./reflex-web prod
- name: Measure and upload .web size
run:
poetry run python benchmarks/benchmark_web_size.py --os "${{ matrix.os }}"