anki: skip flaky tests

This commit is contained in:
Dominique Martinet
2024-08-13 15:07:09 +09:00
parent b3fe728bdc
commit 25ab2f0fe7
2 changed files with 14 additions and 0 deletions
+7
View File
@@ -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
View File
@@ -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 = [