From d6064b3be4da5dd16adef2a84deb796b06490fe1 Mon Sep 17 00:00:00 2001 From: Anisse Astier Date: Fri, 20 Dec 2024 14:50:37 +0100 Subject: [PATCH] github actions: fix installation after move to ubuntu 24.04 The default github action image moved from ubuntu 22.04 to 24.04, and its list of installed packages is not the same. Make sure we have libcairo-dev for pycairo, a dependency of matplotlib used by hwgraph. --- .github/workflows/python-check.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/python-check.yml b/.github/workflows/python-check.yml index 7a7e131..7478842 100644 --- a/.github/workflows/python-check.yml +++ b/.github/workflows/python-check.yml @@ -24,6 +24,9 @@ jobs: ref: ${{ github.event.pull_request.head.sha }} fetch-depth: ${{ env.PR_FETCH_DEPTH }} + - name: install cairo so we can install hwgraph dependencies + run: sudo apt update && sudo apt install libcairo2-dev + - name: Install uv uses: astral-sh/setup-uv@v3 with: