File tree Expand file tree Collapse file tree 3 files changed +15
-14
lines changed
Expand file tree Collapse file tree 3 files changed +15
-14
lines changed Original file line number Diff line number Diff line change @@ -75,18 +75,18 @@ jobs:
7575 with :
7676 python-version : ' 3.11'
7777
78- - name : Setup pip cache
79- uses : actions/cache@v3
80- with :
81- path : /opt/hostedtoolcache/Python
82- key : ${{ runner.os }}-pip-${{ hashFiles('requirements.txt') }}-${{ hashFiles('requirements.optional.txt') }}
83- restore-keys : |
84- ${{ runner.os }}-pip-
78+ # - name: Setup pip cache
79+ # uses: actions/cache@v3
80+ # with:
81+ # path: /opt/hostedtoolcache/Python
82+ # key: ${{ runner.os }}-pip-${{ hashFiles('requirements.txt') }}-${{ hashFiles('requirements.optional.txt') }}
83+ # restore-keys: |
84+ # ${{ runner.os }}-pip-
8585
8686 - name : Install pip and setuptools
8787 run : |
88- python -m pip install --upgrade pip==23.0.0
89- python -m pip install --upgrade pip==23.0.0
88+ python -m pip install --upgrade setuptools
89+ python -m pip install --upgrade pip
9090
9191 - name : Install system dependencies
9292 run : |
9898
9999 # install package
100100 - name : Install the package
101- run : python -m pip install .[all]
101+ run : |
102+ simulatorVersion=$(jq -r '.version' biosimulators.json)
103+ python -m pip install amici==$simulatorVersion
104+ python -m pip install .[all]
102105
103106 # ############################################
104107 # # Lint
Original file line number Diff line number Diff line change @@ -47,10 +47,9 @@ RUN apt-get update -y \
4747# Copy code for command-line interface into image and install it
4848COPY . /root/Biosimulators_AMICI
4949RUN pip install pip==23.0.1
50- RUN pip install sympy /root/Biosimulators_AMICI \
50+ RUN pip install /root/Biosimulators_AMICI \
5151 && rm -rf /root/Biosimulators_AMICI
52- # RUN pip install sympy /root/Biosimulators_AMICI amici==${SIMULATOR_VERSION} \
53- # && rm -rf /root/Biosimulators_AMICI
52+ RUN pip install amici==${SIMULATOR_VERSION}
5453ENV VERBOSE=0 \
5554 MPLBACKEND=PDF
5655
Original file line number Diff line number Diff line change 1- amici >= 0.11.17
21biosimulators_utils [logging ] >= 0.1.180
32kisao >= 2.33
43lxml
You can’t perform that action at this time.
0 commit comments