From 8a8d35a30ccc72740b675ee2a9e3952799377d3f Mon Sep 17 00:00:00 2001 From: Guillaume Ayoub Date: Mon, 11 Mar 2024 14:30:28 +0100 Subject: [PATCH] Update tests on GitHub Actions --- .github/workflows/tests.yml | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 9186c4a..cabb7be 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -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) @@ -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