Skip to content

Commit

Permalink
Testing conda
Browse files Browse the repository at this point in the history
  • Loading branch information
ShaunWeatherly committed Jan 19, 2025
1 parent 67ba833 commit 0a1c213
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/quemb_unittest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,8 @@ jobs:
- name: Install quemb
if: steps.restore-quemb-cache.outputs.cache-hit != 'true'
run: |
conda init
conda install pip
pip install -r tests/test_requirements.txt
pip install .
Expand All @@ -141,8 +143,6 @@ jobs:
- name: Install block2
if: steps.restore-block2-cache.outputs.cache-hit != 'true'
run: |
conda init
conda install pip
pip install -r tests/test_opt_requirements.txt
PYSCFHOME=$(pip show pyscf-dmrgscf | grep 'Location' | tr ' ' '\n' | tail -n 1)
cp src/quemb/shared/external/dmrgscf_settings.py ${PYSCFHOME}/pyscf/dmrgscf/settings.py
Expand Down
2 changes: 1 addition & 1 deletion tests/test_opt_requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Optional dependencies for QuEmb's unit tests.
# Optional dependencies for QuEmb's test suite.
block2 --extra-index-url=https://block-hczhai.github.io/block2-preview/pypi/
git+https://github.com/pyscf/dmrgscf
mkl
2 changes: 1 addition & 1 deletion tests/test_requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# the additional (!) requirements for testing the code
# the additional (!) requirements for running the testsuite...
# the dependencies of `quemb` itself are given in the setup.py
pytest

0 comments on commit 0a1c213

Please sign in to comment.