diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..43fa39e --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,28 @@ +# Test: run tools/test.sh, which births the pinned omc from aien-dev/omega-mv at the commit in +# omega.pin, refuses it unless its sha256 equals the pinned digest, then runs every unit's suite +# (published vectors, Go/Python differential oracles, mutants, the tkad real-socket tests). +# Go 1.26.8 is the oracle toolchain om/json/test/run.py asks for; tka builds with GOTOOLCHAIN=local. +# Host evidence on a GitHub arm64 runner, not a qualification of any deployment. +name: test +on: + pull_request: + push: + branches: [main] +permissions: + contents: read +jobs: + test: + runs-on: ubuntu-24.04-arm + timeout-minutes: 60 + steps: + - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0 + with: + persist-credentials: false + - uses: actions/setup-go@40f1582b2485089dde7abd97c1529aa768e1baff # v5.6.0 + with: + go-version: 1.26.8 + cache: false + - name: machine + run: uname -a; nproc; cc --version | head -1; python3 --version; go version + - name: tools/test.sh + run: tools/test.sh diff --git a/README.md b/README.md index c9bb6d1..5c4c8a6 100644 --- a/README.md +++ b/README.md @@ -95,6 +95,9 @@ the optional Headscale adapter is Go glue and uses Go1.27.3. tools/test.sh # builds the pinned compiler on first use, then runs every unit's tests ``` +`.github/workflows/test.yml` runs `tools/test.sh` on every pull request and push to `main`, on a +GitHub-hosted Ubuntu 24.04 arm64 runner with Go 1.26.8. + ## Status The Omega daemon implements all eight TKA RPCs, node registry/map operations, durable