summaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
authorSon HO2024-04-18 10:59:30 +0200
committerGitHub2024-04-18 10:59:30 +0200
commit6b075d3bfa8f8c28fe706ee79c2beb20d58ea946 (patch)
tree3e8c8cb92a2b0b82bdfd6f7392f5f7cf99499524 /flake.nix
parentb23132b1eb7c61863d85de53e2694749ca84a647 (diff)
parent621b8fff5dcd8ad481fd151c8e0fea6e7438d070 (diff)
Merge pull request #130 from AeneasVerif/fast-tests-outside-of-ci
Run sanity checks in CI only
Diffstat (limited to '')
-rw-r--r--flake.nix9
1 files changed, 3 insertions, 6 deletions
diff --git a/flake.nix b/flake.nix
index b638d4ee..29960c9c 100644
--- a/flake.nix
+++ b/flake.nix
@@ -81,8 +81,9 @@
# the files which are checked out (we have to be careful about
# files like lakefile.lean, and the user hand-written files)
- # Run the tests - remark: we could remove the file
- make test-all -j $NIX_BUILD_CORES
+ # Run the tests with extra sanity checks enabled
+ # Remark: we could remove the file
+ OPTIONS=-checks make test-all -j $NIX_BUILD_CORES
# Check that there are no differences between the generated tests
# and the original tests
@@ -153,10 +154,6 @@
default = aeneas;
};
devShells.default = pkgs.mkShell {
- # By default, tests run some sanity checks which are pretty slow.
- # This disables these checks when developping locally.
- OPTIONS = "";
-
packages = [
pkgs.ocamlPackages.ocaml
pkgs.ocamlPackages.ocamlformat