Skip to content

executing tests (notes)

Joachim Schiele edited this page Dec 7, 2023 · 1 revision

explicit tests execution

cd nixcloud-webservices
nix-build -A tests release.nix

or individual tests:

cd nixcloud-webservices/tests
nix-build -A tests.email release.nix

see test names in nixcloud-webservices/tests/default.nix

test requirements

  • host with AMD-V/VT-x enabled
  • /etc/nixos/configuration.nix virtualisation.libvirtd.enable = true -> nixos-rebuild switch
  • nix-channel pointing to https://nixos.org/channels/nixos-20.03
Clone this wiki locally