Jelajahi Sumber

Fixed Github CI

maziggy 7 bulan lalu
induk
melakukan
7bca0d733f
1 mengubah file dengan 2 tambahan dan 2 penghapusan
  1. 2 2
      .github/workflows/ci.yml

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

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