Skip to content

Commit 40412b0

Browse files
committed
try to make sure hatch uses our python
sometimes it just ignores it (Free threaded)
1 parent fe77c35 commit 40412b0

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/main.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,11 +58,14 @@ jobs:
5858
- uses: actions/checkout@v4
5959
- uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1
6060

61+
- name: make hatch use our Python
62+
run: |
63+
echo "HATCH_PYTHON=$(which python3)" >> $GITHUB_ENV
64+
6165
- name: disable warnings on pypy or windows
6266
if: ${{ startsWith(matrix.python-version, 'pypy') || startsWith(matrix.os, 'windows') }}
6367
run: |
6468
echo "PYTEST_ADDOPTS=${PYTEST_ADDOPTS:-} -W default" >> $GITHUB_ENV
65-
shell: bash
6669
6770
- name: disable coverage on pypy
6871
if: ${{ startsWith(matrix.python-version, 'pypy') }}

0 commit comments

Comments
 (0)