Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ jobs:
- name: Install the package
run: |
python -m pip install .[all]
python -m pip install amici
AMICI_PARALLEL_COMPILE="" python -m pip install amici

#############################################
## Lint
Expand Down Expand Up @@ -169,6 +169,8 @@ jobs:
run: python -m pip install .[tests]

- name: Run the tests
env:
AMICI_PARALLEL_COMPILE: ""
run: python -m pytest tests/ --cov=./biosimulators_amici/ --cov-report=xml

- name: Upload the coverage report to Codecov
Expand Down
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -48,12 +48,13 @@ RUN apt-get update -y \
# Copy code for command-line interface into image and install it
COPY . /root/Biosimulators_AMICI
RUN pip install pip==23.0.1
RUN SETUPTOOLS_SCM_PRETEND_VERSION_FOR_BIOSIMULATORS_AMICI=${VERSION} pip install sympy /root/Biosimulators_AMICI \
RUN SETUPTOOLS_SCM_PRETEND_VERSION_FOR_BIOSIMULATORS_AMICI=${VERSION} pip install /root/Biosimulators_AMICI \
&& rm -rf /root/Biosimulators_AMICI
#RUN pip install sympy /root/Biosimulators_AMICI amici==${SIMULATOR_VERSION} \
# && rm -rf /root/Biosimulators_AMICI
ENV VERBOSE=0 \
MPLBACKEND=PDF
MPLBACKEND=PDF \
AMICI_PARALLEL_COMPILE=""

# Entrypoint
ENTRYPOINT ["biosimulators-amici"]
Expand Down
Loading