File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -26,21 +26,41 @@ jobs:
2626 with :
2727 python-version : ${{ matrix.python-version }}
2828
29+ - name : Install system dependencies (Linux)
30+ if : runner.os == 'Linux'
31+ run : |
32+ sudo apt-get update
33+ sudo apt-get install -y libboost-serialization-dev libprotobuf-dev protobuf-compiler libopenblas-dev liblapack-dev
34+
35+ - name : Install system dependencies (macOS)
36+ if : runner.os == 'macOS'
37+ run : |
38+ brew install boost protobuf openblas autoconf lapack automake libtool
39+ echo "CPATH=/opt/homebrew/include" >> $GITHUB_ENV
40+ echo "LIBRARY_PATH=/opt/homebrew/lib" >> $GITHUB_ENV
41+
2942 - name : Set up Java for PyCOMPSs
3043 if : runner.os != 'Windows'
3144 uses : actions/setup-java@v3
3245 with :
3346 distribution : ' temurin'
34- java-version : ' 8 '
47+ java-version : ' 11 '
3548
3649 - name : Install Python dependencies
3750 shell : bash
3851 run : |
3952 python3 -m pip install --upgrade pip
40- if [ "$RUNNER_OS" != "Windows" ]; then python3 -m pip install pycompss --no-build-isolation; fi
53+ python3 -m pip install setuptools wheel
54+ if [ "$RUNNER_OS" != "Windows" ]; then
55+ python3 -m pip install pycompss --no-build-isolation
56+ fi
4157 python3 -m pip install .[test]
4258
4359 - name : Test with pytest
4460 shell : bash
4561 run : |
46- if [ "$RUNNER_OS" == "Windows" ]; then python3 -m pytest --ignore=tests/test_parallel/; else python3 -m pytest; fi
62+ if [ "$RUNNER_OS" == "Windows" ]; then
63+ python3 -m pytest --ignore=tests/test_parallel/
64+ else
65+ python3 -m pytest
66+ fi
Original file line number Diff line number Diff line change 1818from .reduction import Reduction
1919from .pod import POD
2020from .ae import AE
21- from .ae_eddl import AE_EDDL
21+ try :
22+ from .ae_eddl import AE_EDDL
23+ except ImportError :
24+ pass
2225from .approximation import Approximation
2326from .rbf import RBF
2427from .linear import Linear
You can’t perform that action at this time.
0 commit comments