From edd8bbeaa733209211d37fd3b119dfe0829f6c7d Mon Sep 17 00:00:00 2001 From: Marc Foley Date: Tue, 7 Jan 2025 08:56:01 +0000 Subject: [PATCH] ci: install cairo on ubuntu latest --- .github/workflows/ci.yaml | 6 ++++++ .github/workflows/report.yaml | 3 +++ 2 files changed, 9 insertions(+) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 4cf0fe30468..39ad4146200 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -26,6 +26,9 @@ jobs: uses: actions/setup-python@v4 with: python-version: "3.10" + - name: Install Cairo (Ubuntu) + if: matrix.platform == 'ubuntu-latest' + run: sudo apt-get install libcairo2-dev # Check to_sandbox.txt and to_production.txt do not contain typos - name: Install gftools @@ -42,6 +45,9 @@ jobs: uses: actions/setup-python@v4 with: python-version: "3.10" + - name: Install Cairo (Ubuntu) + if: matrix.platform == 'ubuntu-latest' + run: sudo apt-get install libcairo2-dev # Check Knowledge link graph - name: Install dependencies diff --git a/.github/workflows/report.yaml b/.github/workflows/report.yaml index 3b089dc06f2..bc41d6c5382 100644 --- a/.github/workflows/report.yaml +++ b/.github/workflows/report.yaml @@ -20,6 +20,9 @@ jobs: uses: actions/setup-python@v4 with: python-version: "3.10" + - name: Install Cairo (Ubuntu) + if: matrix.platform == 'ubuntu-latest' + run: sudo apt-get install libcairo2-dev - name: Install dependencies run: pip install gftools[qa] - name: Generate report