Skip to content

Commit

Permalink
ci: install scipy
Browse files Browse the repository at this point in the history
  • Loading branch information
jvansanten committed Mar 24, 2024
1 parent 35f526c commit db24d77
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
uses: actions/setup-python@v2
with:
python-version: "3.11"
- run: pip install numpy mypy
- run: pip install numpy scipy mypy
- run: sudo apt-get install libsuitesparse-dev libbtbb-dev liblapack-dev libcfitsio-dev libmetis-dev libgsl-dev
# NB: force install to provisioned Python's PYTHONPATH
- run: cmake -DPython_EXECUTABLE=$(which python) -DCMAKE_INSTALL_PREFIX=$(dirname $(dirname $(which pip))) && make pyphotospline && sudo make install
Expand All @@ -33,7 +33,7 @@ jobs:
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- run: pip install numpy
- run: pip install numpy scipy
- run: sudo apt-get install libsuitesparse-dev libbtbb-dev liblapack-dev libcfitsio-dev libmetis-dev libgsl-dev
- run: cmake -DPython_EXECUTABLE=$(which python) . && make && sudo make install
- run: python -c "import photospline"
Expand All @@ -53,7 +53,7 @@ jobs:
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- run: pip install numpy
- run: pip install numpy scipy
- run: brew install suite-sparse cfitsio gsl
- run: cmake -DPython_EXECUTABLE=$(which python) . && make && make install
- run: python -c "import photospline"
Expand All @@ -78,7 +78,7 @@ jobs:
githubToken: ${{ github.token }}
install: |
apt-get update -q -y
apt-get install -q -y cmake clang libsuitesparse-dev libbtbb-dev liblapack-dev libcfitsio-dev libmetis-dev libgsl-dev python3-dev python3-numpy
apt-get install -q -y cmake clang libsuitesparse-dev libbtbb-dev liblapack-dev libcfitsio-dev libmetis-dev libgsl-dev python3-dev python3-numpy python3-scipy
run: |
cmake -DPython_EXECUTABLE=$(which python3) .
make
Expand Down

0 comments on commit db24d77

Please sign in to comment.