Skip to content

Refactor integration suite and CI#11

Merged
0pendev merged 6 commits into
mainfrom
refactor/integration_suite
Apr 9, 2026
Merged

Refactor integration suite and CI#11
0pendev merged 6 commits into
mainfrom
refactor/integration_suite

Conversation

@0pendev
Copy link
Copy Markdown
Collaborator

@0pendev 0pendev commented Apr 8, 2026

Waiting for #10
Fix #4 #3

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR refactors the integration test suite from Python (pytest) to Zig, removing all Python dependencies and replacing the test runner with a self-contained Zig script. The change simplifies the development environment and CI/CD pipeline by eliminating the need for Python and the uv package manager.

Changes:

  • Replace Python/pytest integration test runner (scripts/integration.py) with a Zig implementation (scripts/integration.zig)
  • Update GitHub Actions workflows to use the new Zig test runner and simplified action references
  • Update documentation (README.md and CONTRIBUTING.md) to reflect the new test invocation command
  • Simplify devcontainer configuration by removing Python-specific security options

Reviewed changes

Copilot reviewed 7 out of 7 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
scripts/integration.zig New Zig-based integration test runner with test discovery, execution, and golden file comparison
scripts/integration.py Removed Python/pytest test runner
README.md Updated testing instructions to use zig run scripts/integration.zig
CONTRIBUTING.md Updated development workflow and test execution documentation
.github/workflows/ci.yml Simplified to use Zig action directly and removed Python dependencies
.github/workflows/release.yml Simplified action references
.devcontainer/devcontainer.json Removed Python-specific security options

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread scripts/integration.zig
@0pendev 0pendev changed the title Refactor/integration suite Refactor integration suite and CI Apr 8, 2026
@0pendev 0pendev force-pushed the refactor/integration_suite branch from f2b267d to aa53c67 Compare April 8, 2026 12:10
0pendev added 6 commits April 9, 2026 16:28
Signed-off-by: Francisco Freitas <francisco.freitas@ledger.fr>
Signed-off-by: Francisco Freitas <francisco.freitas@ledger.fr>
Signed-off-by: Francisco Freitas <francisco.freitas@ledger.fr>
Reject non-semver values from PR-controlled build.zig.zon so URL,
install path, and GITHUB_PATH cannot be manipulated by untrusted input.
Signed-off-by: Francisco Freitas <francisco.freitas@ledger.fr>
@0pendev 0pendev force-pushed the refactor/integration_suite branch from aa53c67 to b6909c3 Compare April 9, 2026 14:31
@0pendev 0pendev merged commit b6909c3 into main Apr 9, 2026
6 checks passed
@0pendev 0pendev deleted the refactor/integration_suite branch April 9, 2026 14:45
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.

[High] CI Supply Chain: PR-controlled build.zig.zon version string used unsanitized in shell commands and Zig download URL

2 participants