From cf9cdac633dbc2894f0cb9b2d39797ee3f8012f6 Mon Sep 17 00:00:00 2001 From: Lucas Czech Date: Wed, 5 Jun 2024 16:41:55 +0200 Subject: [PATCH] Fix CI pt 5 --- .github/workflows/ci.yaml | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 0c30fb4..dd4c0ee 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -297,17 +297,25 @@ jobs: # For the same versions that we use for the binaries above, # we also run the test case, comparing grenedalf against our independent implementation. # This covers Ubuntu and two Mac versions, so hopefully good enough. - - name: Install Test Dependencies - if: ( matrix.os == 'ubuntu-22.04' && matrix.compiler == 'gcc-13' ) || matrix.compiler == 'apple' + - name: Python Setup - Ubuntu + if: ( matrix.os == 'ubuntu-22.04' && matrix.compiler == 'gcc-13' ) run: | # We do not use the github action to install python and pip, # see https://stackoverflow.com/a/70228289/4184258 sudo apt-get install python3 python3-pip + - name: Python Setup - MacOS + if: matrix.compiler == 'apple' + run: | + brew install python + + - name: Install Test Dependencies + if: ( matrix.os == 'ubuntu-22.04' && matrix.compiler == 'gcc-13' ) || matrix.compiler == 'apple' + run: | # Install the dependencies for the tests python3 -m venv venv source venv/bin/activate - pip3 install -r test/pip.txt + pip3 install --user -r test/pip.txt # Verify the installation pip3 list