Skip to content

Commit 7a9b614

Browse files
committed
SCANPY-222 Use specified python version in ITs
1 parent a1b5504 commit 7a9b614

1 file changed

Lines changed: 8 additions & 4 deletions

File tree

.github/actions/config-poetry/action.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ inputs:
1313
description: The version of jFrog to install
1414
default: 2.77.0
1515
poetry-virtualenvs-path:
16-
description: Path to the Poetry virtual environments, relative to GitHub workspace. The folder is cached only if it is a subdirectory of
16+
description:
17+
Path to the Poetry virtual environments, relative to GitHub workspace. The folder is cached only if it is a subdirectory of
1718
`poetry-cache-dir`.
1819
default: .cache/pypoetry/virtualenvs
1920
poetry-cache-dir:
@@ -41,16 +42,20 @@ runs:
4142
path: ${{ inputs.poetry-cache-dir }}
4243
key: poetry-${{ runner.os }}-${{ hashFiles('poetry.lock') }}
4344
restore-keys: poetry-${{ runner.os }}-
44-
- name: Install mise and Python
45+
46+
- name: Install mise and python
4547
uses: jdx/mise-action@5ac50f778e26fac95da98d50503682459e86d566 # v3.2.0
4648
with:
4749
version: 2025.7.12
48-
install_args: "python@${{ inputs.python-version }}"
50+
install_args: "python@${{ inputs.python-version }}"
51+
4952
- name: Install jfrog and poetry through mise
5053
uses: jdx/mise-action@5ac50f778e26fac95da98d50503682459e86d566 # v3.2.0
5154
with:
5255
version: 2025.7.12
5356
experimental: true # needed to use the http backend for installation of jfrog on windows
57+
tool_versions: |
58+
python ${{ inputs.python-version }}
5459
- name: Vault
5560
# yamllint disable rule:line-length
5661
id: secrets
@@ -72,4 +77,3 @@ runs:
7277
echo "POETRY_VIRTUALENVS_PATH=${POETRY_VIRTUALENVS_PATH}" >> "$GITHUB_ENV"
7378
echo "POETRY_CACHE_DIR=${POETRY_CACHE_DIR}" >> "$GITHUB_ENV"
7479
${GITHUB_ACTION_PATH}/config-poetry.sh
75-

0 commit comments

Comments
 (0)