Skip to content

Commit

Permalink
Update tests on GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
liZe committed Mar 11, 2024
1 parent 290b5db commit 8a8d35a
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: ['3.11']
python-version: ['3.12']
include:
- os: ubuntu-latest
python-version: '3.7'
python-version: '3.8'
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: xvfb daemon (Ubuntu)
Expand All @@ -25,14 +25,11 @@ jobs:
run: python -m pip install -e .[xcb]
- name: Install cairo gdk-pixbuf (MacOS)
if: matrix.os == 'macos-latest'
run: |
brew update
brew pin numpy gdal postgis
brew install cairo gdk-pixbuf
run: brew install cairo gdk-pixbuf
- name: Install msys2 and DejaVu (Windows)
if: matrix.os == 'windows-latest'
run: |
C:\msys64\usr\bin\bash -lc 'pacman -S mingw-w64-x86_64-ttf-dejavu mingw-w64-x86_64-gtk3 --noconfirm'
C:\msys64\usr\bin\bash -lc 'pacman -S mingw-w64-x86_64-ttf-dejavu mingw-w64-x86_64-cairo --noconfirm'
xcopy "C:\msys64\mingw64\share\fonts\TTF" "C:\Users\runneradmin\.fonts" /e /i
echo "C:\msys64\mingw64\bin" | Out-File -FilePath $env:GITHUB_PATH
rm C:\msys64\mingw64\bin\python.exe
Expand Down

0 comments on commit 8a8d35a

Please sign in to comment.