From 1f4adf284536221e31390b8ab747a7d350666bde Mon Sep 17 00:00:00 2001 From: Shane-J-Latham Date: Sat, 10 Aug 2024 19:44:23 +1000 Subject: [PATCH] Tweak to .github/workflows/ scripts, install trimesh before running tests. --- .github/workflows/python-test-vcpkg.yml | 1 + .github/workflows/python-test.yml | 1 + .github/workflows/python-wheel-vcpkg.yml | 1 + 3 files changed, 3 insertions(+) diff --git a/.github/workflows/python-test-vcpkg.yml b/.github/workflows/python-test-vcpkg.yml index 7c31596..fcb7ddf 100644 --- a/.github/workflows/python-test-vcpkg.yml +++ b/.github/workflows/python-test-vcpkg.yml @@ -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: diff --git a/.github/workflows/python-test.yml b/.github/workflows/python-test.yml index 90b0810..fae4a68 100644 --- a/.github/workflows/python-test.yml +++ b/.github/workflows/python-test.yml @@ -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 diff --git a/.github/workflows/python-wheel-vcpkg.yml b/.github/workflows/python-wheel-vcpkg.yml index f859f39..86938e6 100644 --- a/.github/workflows/python-wheel-vcpkg.yml +++ b/.github/workflows/python-wheel-vcpkg.yml @@ -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"