Skip to content

Commit

Permalink
ci: cache lint deps, decrease test timeout (iterative#8494)
Browse files Browse the repository at this point in the history
  • Loading branch information
skshetry authored Oct 31, 2022
1 parent de848d9 commit ca5ad64
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit ca5ad64

Please sign in to comment.