Skip to content

Commit

Permalink
anki: skip flaky test
Browse files Browse the repository at this point in the history
  • Loading branch information
cything committed Dec 7, 2024
1 parent 7f4bcf7 commit f4b174f
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions pkgs/games/anki/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,12 @@ python3.pkgs.buildPythonApplication {
# TODO: verify if this is still true (I can't, no mac)
doCheck = !stdenv.hostPlatform.isDarwin;

checkFlags = [
# this test is flaky, see https://github.com/ankitects/anki/issues/3619
# also remove from anki-sync-server when removing this
"--skip=deckconfig::update::test::should_keep_at_least_one_remaining_relearning_step"
];

dontUseNinjaInstall = false;
dontWrapQtApps = true;

Expand Down
6 changes: 6 additions & 0 deletions pkgs/games/anki/sync-server.nix
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,12 @@ rustPlatform.buildRustPackage {
"anki-sync-server"
];

checkFlags = [
# this test is flaky, see https://github.com/ankitects/anki/issues/3619
# also remove from anki-sync-server when removing this
"--skip=deckconfig::update::test::should_keep_at_least_one_remaining_relearning_step"
];

nativeBuildInputs = [
pkg-config
];
Expand Down

0 comments on commit f4b174f

Please sign in to comment.