Skip to content

Commit

Permalink
CI: don't cache amici; pytest ignore amici_models; passenv BNGPATH
Browse files Browse the repository at this point in the history
* Don't cache the amici installation.
  We are using amici/develop on purpose to detect problems early on. E.g., #1520 should have been detected much earlier.
* Ignore `amici_models` when collecting tests
* Use external BNGPATH if set
  • Loading branch information
dweindl committed Nov 27, 2024
1 parent 6eb4245 commit dbe85ea
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ jobs:

- name: Run tests
timeout-minutes: 35
run: tox -e petab
run: tox -e petab && tox e -e petab -- pip uninstall -y amici
env:
CC: clang
CXX: clang++
Expand Down
1 change: 1 addition & 0 deletions pytest.ini
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
addopts = "--doctest-modules"
filterwarnings =
ignore:.*inspect.getargspec\(\) is deprecated.*:DeprecationWarning
norecursedirs = amici_models
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ envlist =
# Base-environment

[testenv]
passenv = AMICI_PARALLEL_COMPILE,CC,CXX,MPLBACKEND
passenv = AMICI_PARALLEL_COMPILE,CC,CXX,MPLBACKEND,BNGPATH

# Sub-environments
# inherit settings defined in the base
Expand Down

0 comments on commit dbe85ea

Please sign in to comment.