mirror of
https://github.com/venomade/calculator.git
synced 2026-11-16 18:27:39 +00:00
Merge pull request #4 from venomade/lab-7-stretch
Cache used python pip packages
This commit is contained in:
1 file changed
+7
@@ -19,6 +19,13 @@ jobs:
|
|||||||
uses: actions/setup-python@v7
|
uses: actions/setup-python@v7
|
||||||
with:
|
with:
|
||||||
python-version: "3.11"
|
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
|
- name: Install the test tools
|
||||||
run: python -m pip install -r requirements-dev.txt
|
run: python -m pip install -r requirements-dev.txt
|
||||||
- name: Run the tests
|
- name: Run the tests
|
||||||
|
|||||||
Reference in new issue
Block a user