Skip to content

ci: run tests/test_blocks.py, which every job was ignoring - #989

Open
petercorke wants to merge 1 commit into
mainfrom
ci/run-blocks-tests
Open

petercorke wants to merge 1 commit into
mainfrom
ci/run-blocks-tests

Conversation

@petercorke

Copy link
Copy Markdown
Owner

What

Drops --ignore=tests/test_blocks.py from the three pytest invocations in .github/workflows/ci.yml (test-core, test, coverage). No code changes.

Why

bdsim is in the dev extra, so every job already installs it, and test_blocks.py raises SkipTest itself if bdsim is not importable. The --ignore appears to date from before bdsim was installed in CI, so the tests for the arm, mobile, uav and spatial blocks have never run there. No open PR touches this.

Verification

Run in a scratch Python 3.12 environment installed from main with .[dev] (bdsim 1.5.0): tests/test_blocks.py gives 32 passed, 6 skipped, 13 subtests passed in about 7 s. The skips are the existing @unittest.skip markers on the bdsim plot blocks.

Not run: the full matrix (Windows, macOS, Python 3.11 to 3.13). This PR's CI is the first time the file runs there, so a platform-specific failure is possible.

Does not alter numerical results or public behaviour.

AI assistance

Prepared by Claude (Claude Code, Sonnet 5.5) at Peter's request.


Generated by Claude Code

bdsim is in the dev extra, so all three jobs (core, matrix, coverage)
install it, and test_blocks.py skips itself if it is not importable.
The --ignore flag dates from before bdsim was installed in CI and left
the arm, mobile, uav and spatial block tests unrun.  Against main with
bdsim 1.5.0 the file passes (32 passed, 6 skipped, 7 s).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018ap3dFsA21LCGhm7SgNuPi
@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.

This branch has not been deployed

No deployments
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.

2 participants