Skip to content

Commit

Permalink
Install jaxlib in actions
Browse files Browse the repository at this point in the history
  • Loading branch information
Eric Giguere committed Apr 3, 2024
1 parent ccb6247 commit 3eb253f
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 7 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/build_documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,17 @@ jobs:

- name: Install documentation dependencies
run: |
python -mpip install -r doc/requirements.txt
python -m pip install -r doc/requirements.txt
- name: Install QuTiP from GitHub
run: |
python -mpip install git+https://github.com/qutip/qutip.git@master
python -m pip install git+https://github.com/qutip/qutip.git@master
python -c 'import qutip; qutip.about()'
- name: Install qutip-jax from GitHub
run: |
python -mpip install .[full]
python -m pip install jax jax[cpu]
python -m pip install .[full]
python -c 'import qutip_jax; print(qutip_jax.__version__)'
- name: Build documentation
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,15 +36,16 @@ jobs:

- name: Install QuTiP from GitHub
run: |
python -mpip install git+https://github.com/qutip/qutip.git@master
python -m pip install git+https://github.com/qutip/qutip.git@master
python -c 'import qutip; qutip.about()'
- name: Install qutip-jax and dependencies
# Install in editable mode so Coveralls detects the tree structure
# relative to the git repository root as well.
run: |
python -mpip install -e .[full]
python -mpip install pytest-cov coveralls
python -m pip install jax jax[cpu]
python -m pip install -e .[full]
python -m pip install pytest-cov coveralls
- name: Package information
run: |
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/weekly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,8 @@ jobs:
# Install in editable mode so Coveralls detects the tree structure
# relative to the git repository root as well.
run: |
python -mpip install -e .[full]
python -m pip install jax jax[cpu]
python -m pip install -e .[full]
- name: Package information
run: |
Expand Down

0 comments on commit 3eb253f

Please sign in to comment.