|
|
@@ -211,6 +211,16 @@ describe('CI workflow', () => {
|
|
|
expect(aggregate.needs).toContain('node-24-bench')
|
|
|
expect(node24Bench.name).toBe('node 24 / benchmarks')
|
|
|
expect(node24Bench.env).toBeUndefined()
|
|
|
+ expect(node24Bench.steps).toContainEqual({
|
|
|
+ name: 'Install benchmark browser and hosted dependencies',
|
|
|
+ if: "vars.DSH_CI_FAILOVER_LINUX != 'selfhosted' || github.event.pull_request.user.login == 'dependabot[bot]'",
|
|
|
+ run: 'pnpm --filter @deepseek-ai/dsh-benchmarks exec playwright install --with-deps chromium',
|
|
|
+ })
|
|
|
+ expect(node24Bench.steps).toContainEqual({
|
|
|
+ name: 'Install benchmark browser on the failover VM',
|
|
|
+ if: "vars.DSH_CI_FAILOVER_LINUX == 'selfhosted' && github.event.pull_request.user.login != 'dependabot[bot]'",
|
|
|
+ run: 'pnpm --filter @deepseek-ai/dsh-benchmarks exec playwright install chromium',
|
|
|
+ })
|
|
|
expect(node24Bench.steps).toContainEqual({
|
|
|
name: 'Run performance benchmarks',
|
|
|
env: { DSH_GATE_VERBOSE: '1' },
|