Files
modeling-app/rust/.config/nextest.toml
Nick Cameron 3b7f301961 Declare std::offsetPlane in KCL
Signed-off-by: Nick Cameron <nrc@ncameron.org>
2025-04-23 14:39:05 +12:00

53 lines
1.8 KiB
TOML

[test-groups]
# If a test uses the engine, we want to limit the number that can run in parallel.
# This way we don't start and stop too many engine instances, putting pressure on our cloud.
uses-engine = { max-threads = 4 }
# If a test must run after the engine tests, we want to make sure the engine tests are done first.
after-engine = { max-threads = 12 }
[profile.default]
slow-timeout = { period = "180s", terminate-after = 1 }
[profile.ci]
slow-timeout = { period = "50s", terminate-after = 5 }
[[profile.default.overrides]]
# If a test starts with kcl_test_, then it uses the engine. So, limit its parallelism.
filter = "test(kcl_test_)"
test-group = "uses-engine"
threads-required = 2
[[profile.ci.overrides]]
# If a test starts with kcl_test_, then it uses the engine. So, limit its parallelism.
filter = "test(kcl_test_)"
test-group = "uses-engine"
threads-required = 2
[[profile.default.overrides]]
filter = "test(parser::parser_impl::snapshot_tests)"
slow-timeout = { period = "1s", terminate-after = 5 }
# Create the filters for things that need to run after the engine tests.
# Like generating the docs or the kcl-samples manifest, etc.
[[profile.default.overrides]]
# If a test starts with test_after_engine_, then it needs to be run after the engine tests.
filter = "test(test_after_engine_)"
test-group = "after-engine"
[[profile.ci.overrides]]
# If a test starts with test_after_engine_, then it needs to be run after the engine tests.
filter = "test(test_after_engine_)"
test-group = "after-engine"
[[profile.default.overrides]]
# Generate the docs tests after the engine tests.
filter = "test(docs::gen_std_tests)"
test-group = "after-engine"
[[profile.ci.overrides]]
# Generate the docs tests after the engine tests.
filter = "test(docs::gen_std_tests)"
test-group = "after-engine"