Skip to content

Commit

Permalink
Install the library in test workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
sbaldu committed Dec 14, 2023
1 parent dca9df9 commit 3b9fead
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,10 @@ jobs:
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
- name: Compile binding of C++ backend
working-directory: ${{github.workspace}}/CLUEstering
- name: Install CLUEstering
working-directory: ${{github.workspace}}
run: |
find / -name pybind11.h
g++ -std=c++17 -O3 -Wall -shared -fPIC ./binding.cc \
-o CLUEsteringCPP.cpython-38-x86_64-linux-gnu.so && clear
pip install .
- name: Run tests of the Python library
working-directory: ${{github.workspace}}/tests
run: |
Expand Down

0 comments on commit 3b9fead

Please sign in to comment.