Skip to content

Commit

Permalink
Stop benchmarks on error
Browse files Browse the repository at this point in the history
  • Loading branch information
ivov committed Apr 24, 2024
1 parent fa9f59f commit 156a054
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/cli/src/benchmark/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ async function main() {
const _bench = new Bench({
time: 0, // @TODO: Temp value
iterations: 1, // @TODO: Temp value
throws: true,
});

const bench = process.env.CI === 'true' ? withCodSpeed(_bench) : _bench;
Expand Down

0 comments on commit 156a054

Please sign in to comment.