Skip to content

ci: run tests on pull requests#39

Merged
RaoulSchaffranek merged 1 commit into
mainfrom
ci/run-tests-on-prs
Jul 3, 2026
Merged

ci: run tests on pull requests#39
RaoulSchaffranek merged 1 commit into
mainfrom
ci/run-tests-on-prs

Conversation

@RaoulSchaffranek

@RaoulSchaffranek RaoulSchaffranek commented Jul 3, 2026

Copy link
Copy Markdown
Member

Tests were previously never executed on CI — only the release workflow existed. This adds a Test workflow that runs the full test suite on every pull request (both when a PR is opened and when new commits are pushed to it), plus manual dispatch.

The job runs on the self-hosted runners and executes inside the flake's nix develop shell, which provides the required toolchain (K, uv, wat2wasm) with the prebuilt k package substituted from the k-framework Nix cache — mirroring how release.yml uses Nix on the same runners. It first builds the kompiled semantics (make kdist-build), which even the unit tests need (importing komet_node resolves the soroban-semantics.llvm kdist target at import time), then runs make test (unit + integration).

A concurrency group cancels superseded runs when new commits are pushed to the same PR.

@RaoulSchaffranek RaoulSchaffranek merged commit c9432ab into main Jul 3, 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