Skip to content

Fix tests broken by final linter rules, add CI - #6

Merged
shuckc merged 4 commits into
mainfrom
fix-tests-add-ci
Nov 7, 2026
Merged

shuckc merged 4 commits into
mainfrom
fix-tests-add-ci

Conversation

@shuckc

@shuckc shuckc commented Nov 7, 2026

Copy link
Copy Markdown
Member

Summary

  • The tests in test_cutjob_state.py and test_sleep_inhibit.py were failing on main (18 failures): fixtures used single-digit G-codes (G0X0) and G01 before M03, which rules 3-5 now reject. Fixtures now use two-digit G00, and the inline-comment test expects rule 5.
  • Add .github/workflows/ci.yml to run pytest on pull requests and pushes to main.

Test plan

  • pytest -q in a clean checkout of this branch: 88 passed, 1 skipped (test_maze.py needs erbsland_maze)
  • CI run on this PR passes

🤖 Generated with Claude Code

shuckc and others added 4 commits November 7, 2026 20:58
Fixtures used single-digit G-codes and G01 before M03, which rules 3-5
now reject. Use two-digit G00 and update the inline-comment expectation.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
pycairo has no Linux wheel, so a core dependency on erbsland-maze broke
pip install on machines without cairo headers.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@shuckc
shuckc merged commit 329127f into main Nov 7, 2026
1 check passed
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