diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index 0786d0710..f065b3762 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -13,6 +13,7 @@ env: jobs: lint: + timeout-minutes: 10 runs-on: ubuntu-latest steps: - uses: actions/checkout@v2.3.4 @@ -32,6 +33,7 @@ jobs: run: python setup.py checkdocs - uses: pre-commit/action@v2.0.3 tests: + timeout-minutes: 45 runs-on: ${{ matrix.os }} strategy: fail-fast: false @@ -97,6 +99,7 @@ jobs: run: | echo "extra_test_args=--disable-gdrive" >> $GITHUB_ENV - name: run tests + timeout-minutes: 30 env: GDRIVE_CREDENTIALS_DATA: ${{ secrets.GDRIVE_CREDENTIALS_DATA }} AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} diff --git a/setup.cfg b/setup.cfg index 0f3cbe6b4..6220d39dd 100644 --- a/setup.cfg +++ b/setup.cfg @@ -17,7 +17,7 @@ known_first_party=dvc,tests line_length=79 [tool:pytest] -timeout = 600 +timeout = 200 timeout_method = thread log_level = debug addopts = -ra