Skip to content

Commit a76383e

Browse files
committed
temp.
1 parent 1635212 commit a76383e

File tree

1 file changed

+14
-3
lines changed

1 file changed

+14
-3
lines changed

.github/workflows/ci.yml

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,21 @@ jobs:
3838
uses: actions/[email protected]
3939
with:
4040
python-version: ${{ matrix.python }}
41+
- name: Restore base Python virtual environment
42+
id: cache-venv
43+
uses: actions/[email protected]
44+
with:
45+
path: venv
46+
key: >-
47+
${{ runner.os }}-${{ matrix.python }}-venv-hashFiles('pyproject.toml')-hashFiles('.pre-commit-config.yaml')
48+
- name: Create venv (NEW CACHE)
49+
if: steps.cache-venv.outputs.cache-hit != 'true'
50+
run: |
51+
python -m venv venv
52+
. venv/bin/activate
53+
python --version
54+
pip install -e ".[all]"
4155
42-
43-
44-
# - run: pip install -e ".[all]"
4556
# - name: Linter codespell
4657
# run: codespell
4758
# - name: Linter pylint

0 commit comments

Comments
 (0)