fixed icp test having invalid point count #35
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Run PyTest | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python 3.11 | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.11' | |
- name: Install other dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install torch==2.0.1 --extra-index-url https://download.pytorch.org/whl/cu118 | |
pip install -r requirements.txt | |
# only works on CUDA devices | |
# - name: Compile PointNet++ CUDA layers for PSTNet | |
# run: | | |
# cd baselines/model/PSTNet/modules/pointnet2_ops_lib | |
# python setup.py install | |
- name: Run baseline tests | |
run: | | |
pytest baselines/model --ignore=baselines/model/tests/test_pstnet.py | |
- name: Run synthcave tests | |
run: | | |
pytest synthcave |