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 SCREENSHOT_DIR: /tmp/screenshots
REDIS_URL: ${{ matrix.state_manager == 'redis' && 'redis://localhost:6379' || '' }} REDIS_URL: ${{ matrix.state_manager == 'redis' && 'redis://localhost:6379' || '' }}
with: with:
timeout_minutes: 25 timeout_minutes: 30
max_attempts: 2 max_attempts: 2
command: | command: |
poetry run playwright install --with-deps poetry run playwright install --with-deps

View File

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