Skip to content

Commit

Permalink
Fix CI pt 5
Browse files Browse the repository at this point in the history
  • Loading branch information
lczech committed Jun 5, 2024
1 parent 75795ae commit cf9cdac
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit cf9cdac

Please sign in to comment.