Repository navigation
ci: run tests/test_blocks.py, which every job was ignoring - #989
Open
petercorke wants to merge 1 commit into
Open
petercorke wants to merge 1 commit into
petercorke wants to merge 1 commit into
Conversation
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
Up to standards ✅🟢 Issues
|
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Drops
--ignore=tests/test_blocks.pyfrom the three pytest invocations in.github/workflows/ci.yml(test-core,test,coverage). No code changes.Why
bdsimis in thedevextra, so every job already installs it, andtest_blocks.pyraisesSkipTestitself if bdsim is not importable. The--ignoreappears to date from before bdsim was installed in CI, so the tests for thearm,mobile,uavandspatialblocks have never run there. No open PR touches this.Verification
Run in a scratch Python 3.12 environment installed from
mainwith.[dev](bdsim 1.5.0):tests/test_blocks.pygives 32 passed, 6 skipped, 13 subtests passed in about 7 s. The skips are the existing@unittest.skipmarkers 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