Skip to content

ci: the coverage job installs open3d, ros and PyTorch so their tests run - #314

Merged
petercorke merged 2 commits into
mainfrom
ci/codecov-optional-extras
Nov 27, 2026
Merged

petercorke merged 2 commits into
mainfrom
ci/codecov-optional-extras

Conversation

@petercorke

Copy link
Copy Markdown
Owner

Codecov reports PointCloud at 22%, ImageTensor at 23% and Sources at 35%. The cause is the codecov job in ci.yml: it installs only .[dev,tool], so the tests that need Open3D, PyTorch or the ROS libraries are skipped (the log says 1913 passed, 141 skipped). With the extras installed, the same suite gives PointCloud 88% and ImageTensor 92% on my machine.

The job now installs .[dev,tool,open3d,ros] and CPU-only PyTorch from download.pytorch.org/whl/cpu, which is much smaller than the default wheel. A comment in the file says why. It touches only the install step, so it does not conflict with PR 311 (the Codecov files input and token).

This job runs only on a push to main, so this PR cannot exercise it. After it merges, the coverage numbers for the push should show the effect, and the job takes a few minutes longer.

An AI assistant (Claude Code) wrote this change.

🤖 Generated with Claude Code

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 <noreply@anthropic.com>
@codacy-production

Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

@petercorke
petercorke merged commit c3155ea into main Nov 27, 2026
32 checks passed
@petercorke
petercorke deleted the ci/codecov-optional-extras branch November 27, 2026 00:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant