We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0da3f88 commit ec23a4dCopy full SHA for ec23a4d
1 file changed
.github/workflows/run-regression-tests.yml
@@ -43,11 +43,17 @@ jobs:
43
env:
44
PYTHON_CONFIGURE_OPTS: --enable-shared
45
46
+ # Use grep to find the line beginning with "python"
47
+ - name: Get Python version from file
48
+ run: |
49
+ PYTHON_VERSION=$(grep "^python==\K.*" .tool-versions)
50
+ echo "PYTHON_VERSION=$PYTHON_VERSION" >> $GITHUB_ENV
51
+
52
- name: setup venv
53
uses: actions/checkout@v5
54
- uses: actions/setup-python@v6
55
with:
-# python-version: '3.13.5'
56
+ python-version: '${{ env.PYTHON_VERSION }}'
57
cache: 'poetry' # caching poetry dependencies
58
- run: poetry install
59
0 commit comments