Skip to content

Commit 15e2f55

Browse files
authored
Install Hatch manually using pip instead of the hatch install action. (#87)
Updated test workflow to specify Python version for hatch testing after manual install via pip.
1 parent d7d08ca commit 15e2f55

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.github/workflows/tests.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,16 +54,18 @@ jobs:
5454
python-version: ${{ matrix.python-version }}
5555

5656
- name: Install Hatch
57-
uses: pypa/hatch@install
57+
# Commented for now due to high failure rates at the moment.
58+
# uses: pypa/hatch@install
59+
run: python -m pip install --upgrade hatch
5860

5961
- name: Run tests
60-
run: hatch test
62+
run: hatch test -py ${{ matrix.python-version }}
6163

6264
- name: Run build test for scikit-build-core
63-
run: hatch run test-build:scikit-build-core
65+
run: hatch run test-build:scikit-build-core -py ${{ matrix.python-version }}
6466

6567
- name: Run build test for meson-python
66-
run: hatch run test-build:meson
68+
run: hatch run test-build:meson -py ${{ matrix.python-version }}
6769
continue-on-error: true
6870

6971
tests-pass:

0 commit comments

Comments
 (0)