[tasks.fmt] description = "Format voice extension" depends = ["//:install"] run = [ "biome check --write --config-path ../.. .", "rumdl fmt --config ../../.rumdl.toml .", "taplo format --config ../../.taplo.toml mise.toml", ] [tasks.lint] description = "Lint voice extension" depends = ["//:install"] run = [ "biome ci --config-path ../.. .", "rumdl check --config ../../.rumdl.toml .", "taplo format --check --config ../../.taplo.toml mise.toml", ] [tasks.test] description = "Test voice extension" depends = ["//:install"] run = [{ task = "//:test", args = ["extensions/voice"] }] [tasks.check] description = "Check voice extension" depends = ["//:install"] run = [ { task = "//:build", args = ["voice"] }, { task = "//:build-ext", args = ["voice"] }, ] [tasks.e2e] description = "Run fast fake-backed Voice RPC end-to-end checks" depends = ["//:install"] env = { PI_VOICE_REALTIME_ACCEPTANCE = "0" } run = [ { task = "//:test", args = [ "extensions/voice/__serial__/voice-rpc-e2e.test.ts", "--maxWorkers=1", "--no-file-parallelism", ] }, ] [tasks.e2e-realtime] description = "Run real-time recorded-speech UI acceptance separately" depends = ["//:install"] env = { PI_VOICE_REALTIME_ACCEPTANCE = "1" } run = [ { task = "//:test", args = [ "extensions/voice/__serial__/voice-rpc-e2e.test.ts", "--testNamePattern", "^replays recorded speech", "--maxWorkers=1", "--no-file-parallelism", ] }, ] [tasks.verify-package] description = "Build Voice and verify its packaged RPC artifact" depends = ["//:install"] env = { PI_VOICE_RPC_PACKAGE_ROOT = "{{config_root}}/../../dist/voice" } run = [ { task = "//:build-ext", args = ["voice"] }, { task = "//:test", args = [ "extensions/voice/__serial__/rpc-package.test.ts", "--maxWorkers=1", "--no-file-parallelism", ] }, ]