Skip to content

Commit

Permalink
fix for an error related to pygnme library linking:github CI
Browse files Browse the repository at this point in the history
  • Loading branch information
abhishekkhedkar09 authored Aug 11, 2023
1 parent 894ce05 commit 4a37f35
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,11 @@ jobs:
python -m pip install pybind11[global]
export pybind11_DIR=$(python -m pybind11 --cmakedir)
python -m pip install .[dmet,ebcc] --user
python -m pip install .[pygnme] --user
export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:$(python -c "import sysconfig; print(sysconfig.get_path('purelib'))")
python -m pip install -e .[pygnme] --user
export LD_LIBRARY_PATH=$(dirname $(python -c 'import pygnme;print(pygnme.__path__[0])') ):$LD_LIBRARY_PATH
- name: Run unit tests
run: |
export LD_LIBRARY_PATH=$(dirname $(python -c 'import pygnme;print(pygnme.__path__[0])') ):$LD_LIBRARY_PATH
python -m pip install pytest pytest-cov --user
python .github/workflows/run_tests.py
- name: Upload to codecov
Expand Down

0 comments on commit 4a37f35

Please sign in to comment.