diff --git a/.github/workflows/manifold.yml b/.github/workflows/manifold.yml index 5ef990480..5a012cbc1 100644 --- a/.github/workflows/manifold.yml +++ b/.github/workflows/manifold.yml @@ -125,6 +125,7 @@ jobs: npm ci npm run build npm test + cp ../manifold.* ./dist/ - name: Upload WASM files uses: actions/upload-artifact@v3 with: @@ -191,7 +192,7 @@ jobs: - name: Install common dependencies run: | brew install pkg-config googletest assimp - pip install trimesh + pip install trimesh pytest - name: Install TBB if: matrix.parallel_backend == 'TBB' run: brew install tbb diff --git a/README.md b/README.md index 322d50980..a6726b771 100644 --- a/README.md +++ b/README.md @@ -125,7 +125,7 @@ use the extension, please add `$BUILD_DIR/bindings/python` to your `PYTHONPATH`, can be found in `bindings/python/examples`. To see exported samples, run: ``` sudo apt install pkg-config libpython3-dev python3 python3-distutils python3-pip -pip install trimesh +pip install trimesh pytest python3 run_all.py -e ``` diff --git a/pyproject.toml b/pyproject.toml index 96932148a..991b12754 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -55,7 +55,7 @@ install.components = ["bindings"] [tool.cibuildwheel] build-frontend = "build" -test-requires = ["trimesh"] +test-requires = ["trimesh", "pytest"] test-command = "python {project}/bindings/python/examples/run_all.py" # Setuptools bug causes collision between pypy and cpython artifacts manylinux-x86_64-image = "manylinux_2_28"