Skip to content

Commit

Permalink
Tweak to .github/workflows/ scripts, install trimesh before running t…
Browse files Browse the repository at this point in the history
…ests.
  • Loading branch information
Shane-J-Latham committed Aug 10, 2024
1 parent 35bf056 commit 1f4adf2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/python-test-vcpkg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ jobs:
python -m pip install --upgrade pip
python -m pip install cmake setuptools scikit-build wheel 'versioneer[toml]'
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
python -m pip install trimesh
- name: Build and install with pip
env:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/python-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ jobs:
run: |
python -m pip install --upgrade pip
python -m pip install numpy cython setuptools scikit-build wheel 'versioneer[toml]' flake8 pytest
python -m pip install trimesh
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
python -m pip install --user .
- name: Lint with flake8
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/python-wheel-vcpkg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ jobs:
CIBW_BEFORE_BUILD_LINUX: "if [[ -e /project/_skbuild ]]; then rm -rf /project/_skbuild; fi; df -h"
CIBW_BEFORE_ALL_LINUX: "/usr/bin/yum install --assumeyes --verbose zip unzip tar cmake"
CIBW_MANYLINUX_X86_64_IMAGE: "manylinux_2_28"
CIBW_BEFORE_TEST: "python -m pip install trimesh"
# Run the package tests using `pytest`
CIBW_TEST_COMMAND: "python -m pyemblite.test -fv"

Expand Down

0 comments on commit 1f4adf2

Please sign in to comment.