]> git.ipfire.org Git - thirdparty/psycopg.git/commitdiff
Set a timeout for the test run
authorDaniele Varrazzo <daniele.varrazzo@gmail.com>
Sat, 6 Mar 2021 02:13:37 +0000 (03:13 +0100)
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>
Fri, 12 Mar 2021 04:07:25 +0000 (05:07 +0100)
.github/workflows/tests.yml

index 0b4e43612229965730c725680f85b79dbd53a7aa..2bcb5a0e103ce090da6fab06daa19ddd6b19cdac 100644 (file)
@@ -52,6 +52,7 @@ jobs:
         run: pip install tox
       - name: Run tests
         run: tox -c psycopg3 -e ${{ matrix.python }} -- --color yes
+        timeout-minutes: 3
 
   c:
     name: C implementation
@@ -103,3 +104,4 @@ jobs:
         run: pip install tox
       - name: Run tests
         run: tox -c psycopg3_c -e ${{ matrix.python }} -- --color yes
+        timeout-minutes: 3