Skip to content

Commit

Permalink
Test preloading.
Browse files Browse the repository at this point in the history
  • Loading branch information
ShaunWeatherly committed Jan 17, 2025
1 parent 637d4d8 commit 4ebac0e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/quemb_unittest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -157,8 +157,9 @@ jobs:
- name: Test with pytest
run: |
cd tests
export QUEMB_SKIP_EXPENSIVE_TESTS=true
# QUEMB_SKIP_EXPENSIVE_TESTS=true pytest --doctest-modules --junitxml=junit/quemb-test-results_${{ matrix.python-version }}.xml
QUEMB_SKIP_EXPENSIVE_TESTS=true pytest --doctest-modules --junitxml=junit/quemb-test-results_${{ matrix.python-version }}.xml dmrg_molBE_test.py
LD_PRELOAD=${{ env.pythonLocation }}/libmkl_core.so pytest -c '--doctest-modules --junitxml=junit/quemb-test-results_${{ matrix.python-version }}.xml dmrg_molBE_test.py'
- name: Upload pytest junit results
Expand Down
1 change: 1 addition & 0 deletions tests/test_opt_requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
# Optional dependencies for QuEmb's DMRG unit tests.
block2 --extra-index-url=https://block-hczhai.github.io/block2-preview/pypi/
git+https://github.com/pyscf/dmrgscf

0 comments on commit 4ebac0e

Please sign in to comment.