[env]
# This temporarily overrides the version of the CLI used for integration tests, locally and in CI
#CLI_VERSION_OVERRIDE = "v1.4.1-cloud-v1-29-0-139-2.0"

[alias]
# Not sure why --all-features doesn't work
integ-test = [
    "test",
    "--features",
    "temporalio-common/serde_serialize",
    "--features",
    "test-utilities",
    "--features",
    "ephemeral-server",
    "--package",
    "temporalio-sdk-core",
    "--test",
    "integ_runner",
    "--",
]
lint = [
    "clippy",
    "--workspace",
    "--examples",
    "--all-features",
    "--test",
    "integ_tests",
    "--test",
    "heavy_tests",
    "--test",
    "manual_tests",
    "--test",
    "cloud_tests",
    "--test",
    "integ_runner",
    "--test",
    "global_metric_tests",
    "--",
    "--D",
    "warnings",
]
lint-fix = [
    "clippy",
    "--workspace",
    "--examples",
    "--all-features",
    "--test",
    "integ_tests",
    "--test",
    "heavy_tests",
    "--test",
    "manual_tests",
    "--test",
    "cloud_tests",
    "--test",
    "integ_runner",
    "--test",
    "global_metric_tests",
    "--fix",
    "--allow-dirty",
]
test-lint = [
    "clippy",
    "--all",
    "--all-features",
    "--examples",
    "--workspace",
    "--tests",
    "--",
    "--D",
    "warnings",
]
test-lint-fix = [
    "clippy",
    "--all",
    "--all-features",
    "--examples",
    "--workspace",
    "--tests",
    "--fix",
    "--allow-dirty",
]
