summary refs log tree commit diff
diff options
context:
space:
mode:
authorPamplemousse <xav.maso@gmail.com>2020-09-16 09:37:02 -0700
committerJon <jonringer@users.noreply.github.com>2020-09-21 23:12:56 -0700
commit8e0373f1839068ccb3fafa1ca90c26d2b63655aa (patch)
tree0be360f7d1ba5e26adaf327b0176cb3297f3d0fd
parenta3783f968b052625840aa88b02a869d7e3168817 (diff)
topydo: Don't fail build on tests
Signed-off-by: Pamplemousse <xav.maso@gmail.com>
(cherry picked from commit c603f6262868d7ea4893b83ad7ddd3e38714470b)
-rw-r--r--pkgs/applications/misc/topydo/default.nix9
1 files changed, 8 insertions, 1 deletions
diff --git a/pkgs/applications/misc/topydo/default.nix b/pkgs/applications/misc/topydo/default.nix
index eb3894c7b47d2..6db651ff39297 100644
--- a/pkgs/applications/misc/topydo/default.nix
+++ b/pkgs/applications/misc/topydo/default.nix
@@ -22,7 +22,14 @@ buildPythonApplication rec {
     watchdog
   ];
 
-  checkInputs = [ mock freezegun coverage green pylint ];
+  checkInputs = [ mock freezegun pylint ];
+
+  # Skip test that has been reported multiple times upstream without result:
+  # bram85/topydo#271, bram85/topydo#274.
+  checkPhase = ''
+    substituteInPlace test/test_revert_command.py --replace 'test_revert_ls' 'dont_test_revert_ls'
+    python -m unittest discover
+  '';
 
   LC_ALL="en_US.UTF-8";