From ca5ad6457f79b9456177654602dbc044c8dab90d Mon Sep 17 00:00:00 2001 From: skshetry Date: Mon, 31 Oct 2022 22:15:54 +0545 Subject: [PATCH] ci: cache lint deps, decrease test timeout (#8494) --- .github/workflows/tests.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index 9d1448c25..d7074bdcc 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -29,6 +29,8 @@ jobs: uses: actions/setup-python@v4 with: python-version: 3.8 + cache: pip + cache-dependency-path: setup.cfg - name: Install requirements run: | pip install --upgrade pip setuptools wheel @@ -67,7 +69,7 @@ jobs: pip install --upgrade pip setuptools wheel pip install -e ".[dev]" - name: run tests - timeout-minutes: 40 + timeout-minutes: 20 run: pytest -nauto -ra --durations 100 --cov=dvc --cov-report=xml --cov-report=term -k "${{ matrix.pytest-filter }}" - name: upload coverage report uses: codecov/codecov-action@v3