Commit 25ab2f0f authored by Dominique Martinet's avatar Dominique Martinet
Browse files

anki: skip flaky tests

parent b3fe728b
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -226,6 +226,13 @@ python3.pkgs.buildPythonApplication {
  # TODO: verify if this is still true (I can't, no mac)
  doCheck = !stdenv.isDarwin;

  checkFlags = [
    # these two tests are flaky, see https://github.com/ankitects/anki/issues/3353
    # Also removed from anki-sync-server when removing this.
    "--skip=media::check::test::unicode_normalization"
    "--skip=scheduler::answering::test::state_application"
  ];

  dontUseNinjaInstall = false;
  dontWrapQtApps = true;

+7 −0
Original line number Diff line number Diff line
@@ -23,6 +23,13 @@ rustPlatform.buildRustPackage {
    "anki-sync-server"
  ];

  checkFlags = [
    # these two tests are flaky, see https://github.com/ankitects/anki/issues/3353
    # Also removed from anki when removing this.
    "--skip=media::check::test::unicode_normalization"
    "--skip=scheduler::answering::test::state_application"
  ];

  nativeBuildInputs = [ protobuf pkg-config ];

  buildInputs = [