e11sync

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | LICENSE

commit e81eb6c6d218aaa465927d611db54de1e92f86f5 (tree)
parent fd7cbc93a420ff2f9c38fd25dc562719af4603b1
Author: Motiejus Jakštys <motiejus@jakstys.lt>
Date:   Sat, 13 Jan 2024 18:07:24 +0200

attempting to add a test

Diffstat:
Mflake.nix | 8++++++--
1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/flake.nix b/flake.nix @@ -44,7 +44,6 @@ ] ++ appDeps; buildDeps = [pkgs.dart-sass] ++ appDeps; - debugDeps = [pkgs.python3Packages.django-debug-toolbar] ++ runtimeDeps; geoip = pkgs.stdenv.mkDerivation { name = "geoip"; @@ -92,6 +91,11 @@ --add-flags e11sync.wsgi \ --add-flags --bind=127.0.0.1:${toString gunicornPort} ''; + passthru.tests = { + simple = pkgs.runCommand {} "e11sync-test" '' + exit 1; + ''; + }; }; apps.e11sync-gunicorn = { @@ -104,7 +108,7 @@ LOCALE_ARCHIVE = "${pkgs.glibcLocales}/lib/locale/locale-archive"; GEOIP_PATH = "${geoip}"; E11SYNC_DEBUG = "1"; - packages = debugDeps; + packages = [pkgs.python3Packages.django-debug-toolbar] ++ runtimeDeps ++ buildDeps; }; formatter = pkgs.alejandra;