Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions packages/spark/test/braintrust-cli.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@
it.runIf(process.env.CI === "true")(
"configures and reads context using the real bt CLI",
async () => {
const serviceToken = process.env.BRAINTRUST_SERVICE_TOKEN;
const serviceToken = process.env.BRAINTRUST_API_KEY_CI;
if (!serviceToken) {
throw new Error("BRAINTRUST_SERVICE_TOKEN is required in CI.");
throw new Error("BRAINTRUST_API_KEY_CI is required in CI.");

Check failure on line 17 in packages/spark/test/braintrust-cli.test.ts

View workflow job for this annotation

GitHub Actions / Test

test/braintrust-cli.test.ts > Braintrust CLI runtime > configures and reads context using the real bt CLI

Error: BRAINTRUST_API_KEY_CI is required in CI. ❯ test/braintrust-cli.test.ts:17:15
}

const target = await discoverTestTarget(serviceToken);
Expand Down
3 changes: 2 additions & 1 deletion turbo.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@
},
"test": {
"dependsOn": ["^build"],
"outputs": []
"outputs": [],
"passThroughEnv": ["BRAINTRUST_SERVICE_TOKEN"]
},
"lint": {
"outputs": []
Expand Down
Loading