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 35daf5d commit 64a72ff
Showing 1 changed file with 3 additions and 13 deletions.
16 changes: 3 additions & 13 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,19 +39,9 @@ jobs:
touch pattern_causality/__init__.py
touch pattern_causality/utils/__init__.py
# Build extensions
python setup.py build_ext
# Copy built extensions to correct location
find build/lib.*/utils/ -name "*.so" -exec cp {} pattern_causality/utils/ \;
# Install package
PYTHONPATH=$PWD python -m pip install -e .
- name: Verify installation
run: |
python -c "from pattern_causality.utils import statespace"
python -c "import pattern_causality; print(pattern_causality.__file__)"
# Build package normally (not in editable mode)
python setup.py build_ext --inplace
python setup.py install
- name: Run tests
run: |
Expand Down

0 comments on commit 64a72ff

Please sign in to comment.