Skip to content
Snippets Groups Projects
Commit 744acf4f authored by Alban Grastien's avatar Alban Grastien Committed by Michele Alberti
Browse files

[ci] Add target for testing non-regression in libraries

parent d0834cd6
No related branches found
No related tags found
No related merge requests found
...@@ -70,6 +70,12 @@ test: ...@@ -70,6 +70,12 @@ test:
- nix --extra-experimental-features "nix-command flakes" build - nix --extra-experimental-features "nix-command flakes" build
- nix --extra-experimental-features "nix-command flakes" flake check -L - nix --extra-experimental-features "nix-command flakes" flake check -L
test-lib:
stage: test
script:
- nix --extra-experimental-features "nix-command flakes" build
- nix --extra-experimental-features "nix-command flakes" develop --command "make test-lib"
## Manual generation of the documentation ## Manual generation of the documentation
documentation: documentation:
......
...@@ -16,6 +16,9 @@ test: ...@@ -16,6 +16,9 @@ test:
test-ci: test-ci:
dune build -j2 @tests/ci dune build -j2 @tests/ci
test-lib:
dune runtest lib
promote: promote:
dune promote --root=. dune promote --root=.
......
...@@ -103,7 +103,7 @@ ...@@ -103,7 +103,7 @@
make test-ci make test-ci
''; '';
buildInputs = oldAttrs.buildInputs ++ buildInputs = oldAttrs.buildInputs ++
[ pkgs.python3Packages.onnx ]; [ pkgs.python3Packages.onnx pkgs.python3Packages.scitkit-learn ];
}); });
}; };
apps = rec { apps = rec {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment