From ee3f1eb52740477f34ad93c37d20b0702dfa20b9 Mon Sep 17 00:00:00 2001 From: Zach Atkins Date: Mon, 27 Jul 2026 17:02:07 -0600 Subject: [PATCH] CI - add petsc4py to python tests --- .github/workflows/python-test-with-style.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/python-test-with-style.yml b/.github/workflows/python-test-with-style.yml index 5cf592c7cf..94b20ce12e 100644 --- a/.github/workflows/python-test-with-style.yml +++ b/.github/workflows/python-test-with-style.yml @@ -10,7 +10,7 @@ jobs: test: strategy: matrix: - os: [ubuntu-24.04] + os: [ubuntu-26.04] compiler: [gcc] python-version: ['3.x'] @@ -19,10 +19,9 @@ jobs: steps: - name: Environment setup uses: actions/checkout@v5 - - name: Python setup - uses: actions/setup-python@v6 - with: - python-version: ${{ matrix.python-version }} + - name: PETSc install + run: | + sudo apt install -y python3-pip python3 libpetsc-real-dev python3-mpi4py python3-petsc4py - name: Python dependencies run: | pip install -r requirements.txt