attempting to add a test
This commit is contained in:
parent
fd7cbc93a4
commit
e81eb6c6d2
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue