From 2df8f6c5b3487d920501c5cdba8586d724f73da8 Mon Sep 17 00:00:00 2001 From: Peter Corke Date: Thu, 26 Nov 2026 10:23:38 +1000 Subject: [PATCH] ci: the coverage job installs open3d, ros and PyTorch so their tests run Codecov showed PointCloud at 22%, ImageTensor at 23% and Sources at 35% because the job installed only dev and tool, so those tests were skipped. Co-Authored-By: Claude Sonnet 5.5 --- .github/workflows/ci.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ed9cdc76..ce2aa729 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -156,9 +156,14 @@ jobs: - name: Install libegl run: sudo apt-get update && sudo apt-get install -y libegl1 libgl1 + # The optional extras, so that the tests of PointCloud, the PyTorch methods and + # the ROS sources run and count; without them they are skipped and Codecov + # reports PointCloud at 22%, ImageTensor at 23% and Sources at 35%. + # PyTorch comes from the CPU index, which is much smaller. - name: Install package run: | - pip install .[dev,tool] + pip install .[dev,tool,open3d,ros] + pip install torch torchvision --index-url https://download.pytorch.org/whl/cpu cd packages/mvtb-data && pip install . - name: Run coverage