Skip to content

Commit 43cb5bc

Browse files
authored
ci: point pip cache at requirements.txt and install from it
1 parent 083c69e commit 43cb5bc

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/tests.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,12 @@ jobs:
2424
with:
2525
python-version: ${{ matrix.python-version }}
2626
cache: 'pip'
27+
cache-dependency-path: 'requirements.txt' # <-- key the cache properly
2728

28-
- name: Install test/deps
29+
- name: Install dependencies
2930
run: |
3031
python -m pip install --upgrade pip
31-
pip install pytest pyyaml
32+
pip install -r requirements.txt
3233
3334
- name: Run unit tests
3435
run: |

0 commit comments

Comments
 (0)