From c87d9698025831cfed1f93d547e2919d5e6d43e0 Mon Sep 17 00:00:00 2001 From: m1ngsama Date: Mon, 29 Jun 2026 13:56:49 +0800 Subject: [PATCH] ci: run make test on push and pull requests Add the repository's first CI workflow. Runs 'make test' (manifest + handshake checker and the module behavior suite) on ubuntu-24.04 and macos-latest for every push to main and every pull request, so a module that fails validation cannot be merged unnoticed. --- .github/workflows/ci.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..7f68d2a --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,22 @@ +name: CI + +on: + push: + branches: [main] + pull_request: + +permissions: + contents: read + +jobs: + test: + name: module checks (${{ matrix.os }}) + strategy: + fail-fast: false + matrix: + os: [ubuntu-24.04, macos-latest] + runs-on: ${{ matrix.os }} + steps: + - uses: actions/checkout@v4 + - name: Validate manifests, handshakes, and module behavior + run: make test