Skip to content

Commit 71e90de

Browse files
committed
Test with pipx backend
1 parent ef8707a commit 71e90de

3 files changed

Lines changed: 12 additions & 3 deletions

File tree

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

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,16 @@ 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
45+
uses: jdx/mise-action@5ac50f778e26fac95da98d50503682459e86d566 # v3.2.0
46+
with:
47+
version: 2025.7.12
48+
install_args: "python@${{ inputs.python-version }}"
49+
- name: Install Pipx backend for mise
50+
shell: bash
51+
run: |
52+
pip install --user pipx
53+
- name: Install tools through mise
4554
uses: jdx/mise-action@5ac50f778e26fac95da98d50503682459e86d566 # v3.2.0
4655
with:
4756
version: 2025.7.12

.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: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
[tools]
22
jfrog-cli = "2.77.0"
3-
poetry = "2.2.1"
3+
"pipx:poetry" = "2.2.1"

0 commit comments

Comments
 (0)