Skip to content

Commit 94fec15

Browse files
committed
CI: Add step to fix pipx perms on macOS 14
1 parent 4625ae3 commit 94fec15

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/workflows/test.yaml

+9
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,15 @@ jobs:
3737
with:
3838
python-version: ${{ matrix.python-version }}
3939
cache: pip
40+
- name: Fix pipx permissions
41+
if: matrix.os == 'macos-14'
42+
run: |
43+
for d in "$PIPX_HOME" "$PIPX_BIN_DIR" ; do
44+
if [[ -n "$d" ]] ; then
45+
sudo mkdir -p "$d"
46+
sudo chown -R $(id -u) "$d"
47+
fi
48+
done
4049
- name: Install Hatch
4150
run: pipx install hatch
4251
- name: Run tests

0 commit comments

Comments
 (0)