Skip to content

Commit

Permalink
Less fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
erikogabrielsson committed May 6, 2024
1 parent db79cd1 commit dbba47c
Showing 1 changed file with 0 additions and 23 deletions.
23 changes: 0 additions & 23 deletions .github/workflows/pytest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,6 @@ jobs:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: ["3.9", "3.10", "3.11", "3.12"]
include:
- os: macos-14
python-version: "3.9"
upstream-python: 3.9.13
- os: macos-14
python-version: "3.10"
upstream-python: 3.10.11
steps:
- name: Prevent cache-miss on windows
run: |
Expand All @@ -68,22 +61,6 @@ jobs:
path: tests/testdata/slides
enableCrossOsArchive: true
fail-on-cache-miss: true
- name: Set up Python ${{ matrix.python-version }} (macOS fallback)
if: matrix.upstream-python != null
run: |
pkgdir="${{ runner.temp }}/python"
mkdir -p "$pkgdir/bin"
pkg="$pkgdir/python.pkg"
curl -Lfo "$pkg" \
"https://www.python.org/ftp/python/${{ matrix.upstream-python }}/python-${{ matrix.upstream-python }}-macos11.pkg"
sudo installer -pkg "$pkg" -target /
for bin in python pip; do
ln -s /usr/local/bin/${bin}3 $pkgdir/bin/${bin}
done
export PATH="$pkgdir/bin:$PATH"
echo "PATH=$PATH" >> $GITHUB_ENV
python -V
pip -V
- name: Set up Ubuntu
if: matrix.os == 'ubuntu-latest'
run: sudo apt-get install -y libturbojpeg libopenslide0
Expand Down

0 comments on commit dbba47c

Please sign in to comment.