Skip to content

Commit 33eef47

Browse files
committed
simplify setup with basic setup-python
maintainer tools is irrevocably broken with 3.8
1 parent cdfe6da commit 33eef47

File tree

1 file changed

+13
-4
lines changed

1 file changed

+13
-4
lines changed

.github/workflows/test.yml

+13-4
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,20 @@ jobs:
4040
python-version: "3.10"
4141
steps:
4242
- uses: actions/checkout@v4
43-
- name: fix pipx on Python 3.8
44-
if: ${{ matrix.python-version == '3.8' }}
43+
- uses: actions/setup-python@v5
44+
with:
45+
python-version: ${{ matrix.python-version }}
46+
cache: pip
47+
48+
- name: install hatch
4549
run: |
46-
echo PIPX_HOME=$HOME/.pipx_home >> $GITHUB_ENV
47-
- uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1
50+
pip install --upgrade pip pipx
51+
if [[ "${{ matrix.python-version }}" == "3.8" ]]; then
52+
PIPX_HOME=$HOME/.pipx_home
53+
mkdir $PIPX_HOME
54+
fi
55+
pipx install hatch
56+
4857
- name: Test
4958
run: |
5059
hatch run cov:test

0 commit comments

Comments
 (0)