Skip to content

Commit 72acf54

Browse files
committed
Update test.yml
1 parent 346f1cf commit 72acf54

File tree

1 file changed

+2
-9
lines changed

1 file changed

+2
-9
lines changed

.github/workflows/test.yml

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
name: tests
33

44
on: # yamllint disable-line rule:truthy
5+
workflow_dispatch:
56
pull_request:
67
push:
78
branches: [main]
@@ -51,14 +52,6 @@ jobs:
5152
with:
5253
python-version: ${{ matrix.py }}
5354

54-
- name: Get full Python version
55-
id: full-py-version
56-
run: |
57-
echo version=$(python -c " \
58-
import sys; \
59-
print('-'.join(str(v) for v in sys.version_info)) \
60-
") >> $GITHUB_OUTPUT
61-
6255
- name: Cache ./.venv
6356
id: cache-venv
6457
uses: actions/[email protected]
@@ -67,7 +60,7 @@ jobs:
6760
key: |
6861
venv-\
6962
${{ runner.os }}-\
70-
${{ steps.full-py-version.outputs.version }}-\
63+
${{ env.pythonLocation }}-\
7164
${{ matrix.qt }}-\
7265
${{ hashFiles('**/poetry.lock') }}
7366

0 commit comments

Comments
 (0)