mirror of
https://github.com/DRYTRIX/TimeTracker.git
synced 2026-04-28 16:29:54 -05:00
Fix smoke test timeout: run tests in parallel and increase timeout limits
This commit is contained in:
@@ -53,7 +53,7 @@ jobs:
|
||||
quick-tests:
|
||||
name: Quick Test Suite
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 15
|
||||
timeout-minutes: 20
|
||||
|
||||
services:
|
||||
postgres:
|
||||
@@ -92,7 +92,7 @@ jobs:
|
||||
env:
|
||||
PYTHONPATH: ${{ github.workspace }}
|
||||
run: |
|
||||
pytest -m smoke -v --tb=short --no-cov
|
||||
pytest -m smoke -v --tb=short --no-cov -n auto
|
||||
|
||||
- name: Validate database migrations
|
||||
env:
|
||||
|
||||
@@ -30,7 +30,7 @@ jobs:
|
||||
smoke-tests:
|
||||
name: Smoke Tests (Quick)
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 5
|
||||
timeout-minutes: 10
|
||||
|
||||
steps:
|
||||
- name: Checkout code
|
||||
@@ -52,7 +52,7 @@ jobs:
|
||||
env:
|
||||
PYTHONPATH: ${{ github.workspace }}
|
||||
run: |
|
||||
pytest -m smoke -v --tb=short --no-cov
|
||||
pytest -m smoke -v --tb=short --no-cov -n auto
|
||||
|
||||
- name: Upload smoke test results
|
||||
if: always()
|
||||
|
||||
Reference in New Issue
Block a user