Files
sow-tools/.gitea/workflows/test.yml
T
archvillainette 7323f77344
build-image / build-image (push) Failing after 9s
test / test (push) Failing after 2s
fix: runner ovh-main -> nix-docker
2026-06-13 18:03:46 +02:00

28 lines
644 B
YAML

# Lint + unit tests for the Crucible suite. PR-first: PRs + push to main (D7).
name: test
on:
push:
branches: [main]
pull_request:
jobs:
test:
runs-on: nix-docker
container:
image: nixos/nix:latest
steps:
- uses: actions/checkout@v4
with: { fetch-depth: 0 }
- name: vet + test + lint
run: |
nix develop --command bash -c '
set -euo pipefail
go vet ./...
go test ./...
shellcheck scripts/*.sh
yamllint .gitea
'
- name: binary smoke (fail-closed contract)
run: nix develop --command make smoke