Skip to content

Commit

Permalink
update tests.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
wanghui5801 committed Nov 17, 2024
1 parent 64a72ff commit 59c244c
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,16 @@ jobs:
python -m pip install setuptools wheel numpy pandas
python -m pip install pytest pytest-cov
- name: Build and install package
- name: Create package structure
run: |
# Create package structure
mkdir -p pattern_causality/utils
touch pattern_causality/__init__.py
touch pattern_causality/utils/__init__.py
# Build package normally (not in editable mode)
python setup.py build_ext --inplace
- name: Build package
run: |
python setup.py build_ext
cp build/lib.*/*.so pattern_causality/utils/
python setup.py install
- name: Run tests
Expand Down

0 comments on commit 59c244c

Please sign in to comment.