maziggy 4 месяцев назад
Родитель
Сommit
7bca0d733f
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      .github/workflows/ci.yml

+ 2 - 2
.github/workflows/ci.yml

@@ -64,13 +64,13 @@ jobs:
         run: |
         run: |
           python -m pip install --upgrade pip
           python -m pip install --upgrade pip
           pip install -r requirements.txt
           pip install -r requirements.txt
-          pip install pytest pytest-asyncio pytest-cov
+          pip install pytest pytest-asyncio pytest-cov pytest-timeout
 
 
       - name: Run tests
       - name: Run tests
         timeout-minutes: 10
         timeout-minutes: 10
         run: |
         run: |
           cd backend
           cd backend
-          python -m pytest tests/ -v --tb=short
+          python -m pytest tests/ -v --tb=short --timeout=60 --timeout-method=thread
 
 
   # ============================================================================
   # ============================================================================
   # Frontend Checks
   # Frontend Checks