Skip to content

Commit

Permalink
Testing setup
Browse files Browse the repository at this point in the history
  • Loading branch information
ShaunWeatherly committed Jan 19, 2025
1 parent 0a1c213 commit e367c36
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 7 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/quemb_unittest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -120,8 +120,6 @@ 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 @@ -143,7 +141,6 @@ jobs:
- name: Install block2
if: steps.restore-block2-cache.outputs.cache-hit != 'true'
run: |
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
chmod +x ${PYSCFHOME}/pyscf/dmrgscf/nevpt_mpi.py
Expand Down
2 changes: 2 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@
"numpy>=1.22.0",
"scipy>=1.7.0",
"pyscf>=2.0.0",
"block2",
"pyscf-dmrgscf @ git+https://github.com/pyscf/dmrgscf.git",
"networkx",
"matplotlib",
"libdmet @ git+https://github.com/gkclab/libdmet_preview.git",
Expand Down
3 changes: 0 additions & 3 deletions tests/test_opt_requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
# 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 running the testsuite...
# the additional (!) requirements for running the test suite...
# the dependencies of `quemb` itself are given in the setup.py
pytest

0 comments on commit e367c36

Please sign in to comment.