Skip to content

Commit 1bf86e6

Browse files
committed
Fix not using venv after restoring cache
1 parent 4cef846 commit 1bf86e6

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
- name: Generate API docs
3636
run: |
3737
rm -rf ./docs/_build
38-
tox -e docs
38+
./venv/bin/python -m tox -e docs
3939
- name: Upload docs
4040
uses: actions/upload-artifact@v4
4141
with:

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,9 @@ jobs:
4949
if: steps.restore-venv-cache.outputs.cache-hit != 'true'
5050
run: |
5151
python -m venv ./venv
52-
./venv/bin/python -m pip install .
52+
python -m pip install .
5353
- name: Run test suite
54-
run: tox -e py
54+
run: ./venv/bin/python -m tox -e py
5555
- name: Cache virtualenv
5656
uses: actions/cache/save@v4
5757
if: steps.restore-venv-cache.outputs.cache-hit != 'true'

0 commit comments

Comments
 (0)