mirror of
https://github.com/venomade/calculator.git
synced 2026-11-16 18:27:39 +00:00
Cache used python pip packages
This commit is contained in:
1 parent
f7d0729b61
commit
43d16d3b3b
1 file changed
+7
@@ -19,6 +19,13 @@ jobs:
|
||||
uses: actions/setup-python@v7
|
||||
with:
|
||||
python-version: "3.11"
|
||||
- name: Cache pip packages
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: ~/.cache/pip
|
||||
key: ${{ runner.os }}-pip-${{hashFiles('requirements-dev.txt')}}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-pip-
|
||||
- name: Install the test tools
|
||||
run: python -m pip install -r requirements-dev.txt
|
||||
- name: Run the tests
|
||||
|
||||
Reference in new issue
Block a user