Skip to content

Commit e1d9948

Browse files
committed
Test with pipx backend
1 parent ef8707a commit e1d9948

File tree

3 files changed

+12
-8
lines changed

3 files changed

+12
-8
lines changed

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

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ description: GitHub Action to configure a poetry project
55
inputs:
66
python-version:
77
description: The version of python to use
8-
default: 3.12.12
8+
default: 3.12.1
99
poetry-version:
1010
description: The version of poetry to install
1111
default: 2.2.1
@@ -41,15 +41,19 @@ runs:
4141
path: ${{ inputs.poetry-cache-dir }}
4242
key: poetry-${{ runner.os }}-${{ hashFiles('poetry.lock') }}
4343
restore-keys: poetry-${{ runner.os }}-
44-
- name: Install mise and tools
44+
- name: Install mise and Python
4545
uses: jdx/mise-action@5ac50f778e26fac95da98d50503682459e86d566 # v3.2.0
4646
with:
4747
version: 2025.7.12
48-
- name: Install Python $${{ inputs.python-version }}
48+
install_args: "python@${{ inputs.python-version }}"
49+
- name: Install Pipx backend for mise
4950
shell: bash
5051
run: |
51-
mise install python@${{ inputs.python-version }}
52-
mise use -g python@${{ inputs.python-version }}
52+
pip install --user pipx
53+
- name: Install tools through mise
54+
uses: jdx/mise-action@5ac50f778e26fac95da98d50503682459e86d566 # v3.2.0
55+
with:
56+
version: 2025.7.12
5357
- name: Vault
5458
# yamllint disable rule:line-length
5559
id: secrets

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ jobs:
159159
- name: Checkout repository
160160
uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
161161
- name: Configure poetry for Windows
162-
uses: ./.github/actions/config-poetry-win
162+
uses: ./.github/actions/config-poetry
163163
- name: Execute the test suite
164164
run: |
165165
poetry run pytest tests/

mise.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
[tools]
2-
jfrog-cli = "2.77.0"
3-
poetry = "2.2.1"
2+
"pipx:jfrog-cli" = "2.77.0"
3+
"pipx:poetry" = "2.2.1"

0 commit comments

Comments
 (0)