Skip to content

Commit

Permalink
CI: Run tests for macOS on Python 3.12
Browse files Browse the repository at this point in the history
  • Loading branch information
ghisvail committed Apr 25, 2024
1 parent dacd157 commit 0f41e90
Showing 1 changed file with 2 additions and 12 deletions.
14 changes: 2 additions & 12 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,25 +26,15 @@ jobs:
python-version: [ '3.8', '3.9', '3.10', '3.11', '3.12' ]
include:
- os: macos-13
python-version: '3.11'
python-version: '3.12'
- os: macos-14
python-version: '3.11'
python-version: '3.12'
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: pip
# see https://github.com/actions/runner-images/issues/9256
- name: Fix pipx permissions
if: matrix.os == 'macos-14'
run: |
for d in "$PIPX_HOME" "$PIPX_BIN_DIR" ; do
if [[ -n "$d" ]] ; then
sudo mkdir -p "$d"
sudo chown -R $(id -u) "$d"
fi
done
- name: Install Hatch
run: pipx install hatch
- name: Run tests
Expand Down

0 comments on commit 0f41e90

Please sign in to comment.