Skip to content

Commit 6590611

Browse files
flying-sheepmeeseeksmachine
authored andcommitted
Backport PR scverse#2125: ci: skip broken Click version
1 parent 1920dd6 commit 6590611

1 file changed

Lines changed: 7 additions & 4 deletions

File tree

.github/workflows/test-cpu.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,15 +63,18 @@ jobs:
6363
python-version: ${{ matrix.env.python }}
6464

6565
- name: Install dependencies
66-
run: uvx hatch -v env create ${{ matrix.env.name }}
66+
run: |
67+
# https://github.com/pallets/click/issues/3066
68+
uv tool install --with='click!=8.3.0' hatch
69+
hatch -v env create ${{ matrix.env.name }}
6770
6871
- name: Run tests
6972
env:
7073
COVERAGE_PROCESS_START: ${{ github.workspace }}/pyproject.toml
7174
run: |
72-
uvx hatch run ${{ matrix.env.name }}:run-cov -v --color=yes -n auto --junitxml=test-data/test-results.xml -m "${{ matrix.io_mark }}" ${{ matrix.env.args }}
73-
uvx hatch run ${{ matrix.env.name }}:cov-combine
74-
uvx hatch run ${{ matrix.env.name }}:coverage xml
75+
hatch run ${{ matrix.env.name }}:run-cov -v --color=yes -n auto --junitxml=test-data/test-results.xml -m "${{ matrix.io_mark }}" ${{ matrix.env.args }}
76+
hatch run ${{ matrix.env.name }}:cov-combine
77+
hatch run ${{ matrix.env.name }}:coverage xml
7578
7679
- name: Upload test results
7780
if: ${{ !cancelled() }}

0 commit comments

Comments
 (0)