Merge pull request #305829 from al3xtjames/delta-tests

delta: run tests with 1 thread
This commit is contained in:
Mario Rodas 2024-04-21 18:56:41 -05:00 committed by GitHub
commit dff96297be
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 5 additions and 0 deletions

View File

@ -44,6 +44,11 @@ rustPlatform.buildRustPackage rec {
etc/completion/completion.{bash,fish,zsh}
'';
# test_env_parsing_with_pager_set_to_bat sets environment variables,
# which can be flaky with multiple threads:
# https://github.com/dandavison/delta/issues/1660
dontUseCargoParallelTests = true;
checkFlags = lib.optionals stdenv.isDarwin [
"--skip=test_diff_same_non_empty_file"
];