-
Notifications
You must be signed in to change notification settings - Fork 32
Add conda installation workflow #2839
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
dweindl
merged 44 commits into
main
from
92qzwt-codex/add-cron-run-github-action-for-amici-installation
Nov 12, 2025
Merged
Changes from all commits
Commits
Show all changes
44 commits
Select commit
Hold shift + click to select a range
f88a2a2
Run conda install workflow on pull requests
FFroehlich 3cb8f67
Update conda install workflow
FFroehlich 415cff4
remove BLAS_LIBS
FFroehlich 5017666
Merge branch 'main' into 92qzwt-codex/add-cron-run-github-action-for-…
FFroehlich 68c59c2
don‘t install BLAS
FFroehlich d2f1cf8
install from git
FFroehlich eb28923
-v
dweindl 9232bb2
env
dweindl 226a9f1
compilers
dweindl c6f2e1c
clang-tools
dweindl 6487135
Merge branch 'main' into 92qzwt-codex/add-cron-run-github-action-for-…
dweindl 98a5490
..
dweindl f122de0
..
dweindl 74c88fc
report Python3 INCLUDE_DIRS and LIBRARIES
FFroehlich 7aca4b7
ls
dweindl efb3389
Modify conda install command in workflow
FFroehlich 6979f1d
Fix conda install command for compilers
FFroehlich 23fc834
do not link python runtime, install conda tools
FFroehlich f2e2a9e
Update test_conda_install.yml
FFroehlich 3165d1c
Update test_conda_install.yml
FFroehlich 1580a35
Update test_conda_install.yml
FFroehlich 9a909c4
Update test_conda_install.yml
FFroehlich b6be53e
Update CMakeLists.txt
FFroehlich b4bea41
Update test_conda_install.yml
FFroehlich 114e225
simplify
FFroehlich ede4ffa
no conda compilers, multiversion
FFroehlich ac67952
update doc
FFroehlich a8bfe6e
use conda compilers
FFroehlich ed6743b
Update CMakeLists.txt
dweindl fced0f3
Update test_conda_install.yml
FFroehlich 6958fe9
Merge branch '92qzwt-codex/add-cron-run-github-action-for-amici-insta…
FFroehlich 59d0e50
Update test_conda_install.yml
FFroehlich a1ce620
Update .github/workflows/test_conda_install.yml
dweindl 6aa031c
Revert "Update .github/workflows/test_conda_install.yml"
dweindl ab4dfa9
openmp?
dweindl 70449f5
..
dweindl cfcf943
dbg
dweindl a6669f9
dbg
dweindl f153613
dbg
dweindl 4a934fe
no --user
dweindl 8d675cb
conda cmake
dweindl 124e362
cleanup
dweindl 3006503
coe
dweindl 6a43cb9
Merge branch 'main' into 92qzwt-codex/add-cron-run-github-action-for-…
dweindl File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,58 @@ | ||
| name: Conda installation | ||
| on: | ||
| workflow_dispatch: | ||
| schedule: | ||
| - cron: '48 4 * * *' | ||
| pull_request: | ||
| branches: | ||
| - main | ||
|
|
||
| jobs: | ||
| conda: | ||
| name: Conda installation | ||
| strategy: | ||
| fail-fast: false | ||
| matrix: | ||
| os: [ubuntu-24.04, macos-latest] | ||
| python-version: ['3.11', '3.12', '3.13'] | ||
| runs-on: ${{ matrix.os }} | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
| - name: Set up Miniconda | ||
| uses: conda-incubator/setup-miniconda@v3 | ||
| with: | ||
| python-version: ${{ matrix.python-version }} | ||
| auto-update-conda: true | ||
| activate-environment: amici | ||
| - name: Install requirements | ||
| shell: bash -l {0} | ||
| run: | | ||
| conda install -c conda-forge compilers cmake | ||
| - name: Install AMICI | ||
| shell: bash -l {0} | ||
| run: | | ||
| pip3 install -v ./python/sdist | ||
| - name: Show environment | ||
| shell: bash -l {0} | ||
| run: | | ||
| python -c "import os; import pprint; pprint.pprint(dict(os.environ))" | ||
| which cmake | ||
| which ninja | ||
| ls -l /Users/runner/miniconda3/envs/amici/bin || true | ||
| - name: Install test dependencies | ||
| shell: bash -l {0} | ||
| run: | | ||
| # Install test extras (pytest, scipy, etc.) | ||
| pip3 install pytest pytest-cov scipy h5py antimony | ||
| - name: Test import | ||
| shell: bash -l {0} | ||
| run: | | ||
| python -c "from amici import _amici; print(_amici)" | ||
| python -m amici | ||
| - name: Run SBML import test | ||
| shell: bash -l {0} | ||
| # FIXME | ||
| continue-on-error: true | ||
| run: | | ||
| cd python/tests | ||
| pytest test_sbml_import.py::test_steadystate_simulation -sv | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.