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`
This commit is contained in:
parent
9e2f3895e9
commit
ec9f9f98d8
2 changed files with 15 additions and 5 deletions
|
|
@ -3,6 +3,6 @@ environment:
|
|||
NIX_CONFIG: "experimental-features = nix-command flakes"
|
||||
tasks:
|
||||
- setup: "sudo ln -s /etc/zoneinfo/EST /etc/localtime"
|
||||
- test-jail-nix: "cd jail.nix/tests && nix run .#runTests"
|
||||
- check-format: "cd jail.nix/tests && nix run .#checkFmt"
|
||||
- build-website: "cd jail.nix/website && nix build -L .#default"
|
||||
- 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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue