Skip to content

Commit

Permalink
Add dependencies to CI
Browse files Browse the repository at this point in the history
  • Loading branch information
stuartmcalpine committed Nov 20, 2023
1 parent 9b1a474 commit cfdbdae
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ jobs:
fail-fast: false
matrix:
python-version: ["3.9"]
os: [ubuntu-latest, macos-latest]
os: [ubuntu-20.04, macos-latest]
include:
- os: ubuntu-latest
- os: ubuntu-20.04
INSTALL_DEPS: sudo apt-get update && sudo apt-get -y install gfortran-7 swig libopenmpi-dev openmpi-bin libopenblas-dev && sudo ln -s `which gfortran-7` /usr/local/bin/gfortran
- os: macos-latest
INSTALL_DEPS: brew update-reset && HOMEBREW_NO_AUTO_UPDATE=1 HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK=1 brew install gcc swig libomp open-mpi openblas && if [ ! -f /usr/local/bin/gfortran ]; then ln -s /usr/local/bin/gfortran-$(brew list --versions gcc | awk '{print $2}' | cut -d. -f1) /usr/local/bin/gfortran; fi
Expand Down Expand Up @@ -54,7 +54,4 @@ jobs:
cd legacy_blinding
python -m pip install --upgrade pip
python -m pip install .
# Perform unit tests.
- name: Test legacy_blinding with pytest
run: pytest ./tests
pytest ./tests

0 comments on commit cfdbdae

Please sign in to comment.