Skip to content

Commit

Permalink
Made all evalite tests run simultaneously by default.
Browse files Browse the repository at this point in the history
  • Loading branch information
mattpocock committed Dec 7, 2024
1 parent 5fd4de1 commit 66e8dac
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/dull-files-sin.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"evalite": minor
---

Made all evalite tests run simultaneously by default.
3 changes: 3 additions & 0 deletions packages/evalite/src/run-vitest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@ export const runVitest = async (opts: {
root: opts.cwd,
include: ["**/*.eval.{js,ts}"],
watch: opts.mode === "watch-for-file-changes",
sequence: {
concurrent: true,
},
reporters: [
new EvaliteReporter({
jsonDbLocation,
Expand Down
2 changes: 1 addition & 1 deletion turbo.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
},
"test": {
"dependsOn": ["^build"],
"outputs": ["evalite-report.jsonl"],
"outputs": [],
"cache": true
},
"build": {
Expand Down

0 comments on commit 66e8dac

Please sign in to comment.