flutter_rust_bridge_codegen: skip timeout tests on darwin
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
fetchFromGitHub,
|
||||
rustPlatform,
|
||||
cargo-expand,
|
||||
stdenv,
|
||||
}:
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "flutter_rust_bridge_codegen";
|
||||
@@ -26,11 +27,17 @@ rustPlatform.buildRustPackage rec {
|
||||
|
||||
# needed to run text (see https://github.com/fzyzcjy/flutter_rust_bridge/blob/ae970bfafdf80b9eb283a2167b972fb2e6504511/frb_codegen/src/library/utils/logs.rs#L43)
|
||||
logLevel = "debug";
|
||||
checkFlags = [
|
||||
# Disabled because these tests need a different version of anyhow than the package itself
|
||||
"--skip=tests::test_execute_generate_on_frb_example_dart_minimal"
|
||||
"--skip=tests::test_execute_generate_on_frb_example_pure_dart"
|
||||
];
|
||||
checkFlags =
|
||||
[
|
||||
# Disabled because these tests need a different version of anyhow than the package itself
|
||||
"--skip=tests::test_execute_generate_on_frb_example_dart_minimal"
|
||||
"--skip=tests::test_execute_generate_on_frb_example_pure_dart"
|
||||
]
|
||||
++ lib.optionals stdenv.hostPlatform.isDarwin [
|
||||
# Timeout on darwin, not related to networking in sandbox
|
||||
"--skip=library::codegen::controller::tests::test_run_with_watch"
|
||||
"--skip=library::codegen::generator::api_dart::tests::test_functions"
|
||||
];
|
||||
|
||||
meta = {
|
||||
mainProgram = "flutter_rust_bridge_codegen";
|
||||
|
||||
Reference in New Issue
Block a user