about summary refs log tree commit diff
path: root/pkgs/applications/office/gtg
diff options
context:
space:
mode:
authorScott Worley <scottworley@scottworley.com>2020-09-01 12:31:43 -0700
committerChuck <chuck@intelligence.org>2020-09-01 14:18:18 -0700
commit8ebee6e3a6495fac27e3ff867014bed8a0e294fb (patch)
treee376c892c193595d7f69aef964c1f9ac38d95c5a /pkgs/applications/office/gtg
parentfe5f1c20cc385c823f5627b452f09fd73b677307 (diff)
gtg: Run tests
Diffstat (limited to 'pkgs/applications/office/gtg')
-rw-r--r--pkgs/applications/office/gtg/default.nix7
1 files changed, 7 insertions, 0 deletions
diff --git a/pkgs/applications/office/gtg/default.nix b/pkgs/applications/office/gtg/default.nix
index d990bc07ad236..9bd25cfff1dfa 100644
--- a/pkgs/applications/office/gtg/default.nix
+++ b/pkgs/applications/office/gtg/default.nix
@@ -50,9 +50,16 @@ python3Packages.buildPythonApplication rec {
     liblarch
   ];
 
+  checkInputs = with python3Packages; [
+    nose
+    mock
+  ];
+
   format = "other";
   strictDeps = false; # gobject-introspection does not run with strictDeps (https://github.com/NixOS/nixpkgs/issues/56943)
 
+  checkPhase = "python3 ../run-tests";
+
   meta = with stdenv.lib; {
     description = " A personal tasks and TODO-list items organizer.";
     longDescription = ''