diff --git a/.github/workflows/package.yml b/.github/workflows/package.yml index fd4fb0b696..f1889b5bfb 100644 --- a/.github/workflows/package.yml +++ b/.github/workflows/package.yml @@ -79,6 +79,7 @@ jobs: pip3 install -r requirements-build.txt pip3 install -r requirements-macos-${MACOSX_DEPLOYMENT_TARGET}.txt - name: Run tests + timeout-minutes: 30 run: | python3 setup.py test - name: Prepare code signing certificate @@ -153,6 +154,7 @@ jobs: pip install -r requirements-build.txt pip install -r requirements-win.txt - name: Run tests + timeout-minutes: 30 run: python setup.py test - name: Prepare code signing certificate if: matrix.type != 'store-app' diff --git a/.github/workflows/pypi-release.yml b/.github/workflows/pypi-release.yml index 601680eb5f..ba11977ac0 100644 --- a/.github/workflows/pypi-release.yml +++ b/.github/workflows/pypi-release.yml @@ -20,6 +20,7 @@ jobs: python -m pip install --upgrade pip pip install --upgrade -r requirements.txt - name: Run tests + timeout-minutes: 30 run: | python setup.py test - name: Build Python source distribution @@ -97,6 +98,7 @@ jobs: python -m pip install --upgrade pip wheel pip install --upgrade -r requirements.txt - name: Run tests + timeout-minutes: 30 run: | python setup.py test - name: Build Python binary distribution diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 40502624d1..3b26ba0415 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -120,6 +120,7 @@ jobs: run: picard --long-version --no-crash-dialog - name: Verify sdist package if: runner.os != 'Windows' + timeout-minutes: 30 run: | pip install pytest scripts/package/run-sdist-test.sh