Skip to content

Add CI workflow to run tests on push and PR#1547

Merged
larsbrubaker merged 4 commits intomainfrom
add-ci-workflow
Feb 27, 2026
Merged

Add CI workflow to run tests on push and PR#1547
larsbrubaker merged 4 commits intomainfrom
add-ci-workflow

Conversation

@larsbrubaker
Copy link
Member

Summary

  • Adds a GitHub Actions workflow that builds and runs the test suite on every push to main and on pull requests
  • Uses windows-latest runner since the test project targets net8.0-windows
  • Branch protection updated to require the test check to pass before merging, with enforce_admins enabled

Test plan

  • Verify the workflow runs on this PR
  • Verify tests pass in CI

larsbrubaker and others added 4 commits February 26, 2026 17:05
- Updated copyright years to 2025 across multiple files.
- Improved test structure by migrating from MhTest to TUnit assertions in various test files.
- Introduced D3D11SystemWindow and D3D11WinformsWindowProvider for enhanced rendering capabilities.
- Added references to new D3D11 project in PlatformWin32.csproj.
- Updated .gitignore to specify mstest test results.
- Enhanced AutomationRunner with new tests for widget interactions and timeout handling.

Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
- Add +1 pixel padding to AllocateBackBuffer to prevent text clipping at sub-pixel offsets
- Remove dead code in OnDraw transform calculation
- Add .cursor/ and __pycache__/ to .gitignore
- Document TUnit single-test execution in testing skill

Made-with: Cursor
Expand the back buffer by +1 pixel only when a fractional screen offset
would cause content to overflow, rather than always adding padding.
This preserves correct border rendering at integer positions.

Made-with: Cursor
@larsbrubaker larsbrubaker merged commit ff5bc62 into main Feb 27, 2026
1 check passed
@larsbrubaker larsbrubaker deleted the add-ci-workflow branch February 27, 2026 02:00
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