Something went wrong. Try again.
small gleam coding and (not yet) persistent agent daemon with a detachable cli forked from okami.mom/albedo
Something went wrong. Try again.
albedo test.sh
1.1 kB · 30 lines
Shell
at paperclips
12345678910111213141516171819202122232425262728293031#!/usr/bin/env bash# Every check that must pass before a commit.## The daemon tests start a daemon with `gleam run`, so they stay outside# `gleam test`: a nested build would wait on the build lock this suite holds.# test/manual is opt-in and not run here; those harnesses need a provider,# a PTY, or artifacts from an earlier benchmark run.set -euo pipefailcd "$(dirname "$0")"export ALBEDO_NO_BROWSER=1
gleam format --check src testcargo test --release --locked --manifest-path native/render/Cargo.tomlnative/render/install.shgleam testpython3 test/harness/api_docs_test.pypython3 test/harness/job_wake_test.pypython3 test/harness/run_plugin_test.pypython3 test/harness/remote_kernel_test.pypython3 test/harness/remote_plugin_test.py
(cd cli && go vet ./...)# the daemon suites drive the CLI through this binarygo -C cli build -o bin/albedo ./cmd/albedo# unit tests first, then the Go e2e suite: it builds its own CLI and boots one# hermetic daemon, so it must never reuse a cached run or a stale binary(cd cli && go test ./internal/... ./cmd/...)(cd cli && go test -count=1 ./test/e2e)
python3 test/e2e/run.py