jail.nix/.build.yml
Alex David ec9f9f98d8 Improve test apps
* Allow running test apps in repo root (e.g. `nix run ./tests#runTests`)
* Pass argv to cabal to allow filtering tests with `-m`
* Use `cabal run spec` rather than `cabal test`
2025-10-19 12:15:48 -07:00

8 lines
343 B
YAML

image: nixos/25.05
environment:
NIX_CONFIG: "experimental-features = nix-command flakes"
tasks:
- setup: "sudo ln -s /etc/zoneinfo/EST /etc/localtime"
- test-jail-nix: "cd jail.nix && nix run ./tests#runTests"
- check-format: "cd jail.nix && nix run ./tests#checkFmt"
- build-website: "cd jail.nix && nix build -L ./website#default"