Skip to content

Commit

Permalink
[watcher] disable jest config in CI, it's regularly failing (#141677)
Browse files Browse the repository at this point in the history
  • Loading branch information
Spencer authored Sep 23, 2022
1 parent 2cea293 commit 65d3ade
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .buildkite/disabled_jest_configs.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[
"x-pack/plugins/watcher/jest.config.js"
]
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ import { load as loadYaml } from 'js-yaml';
import { BuildkiteClient, BuildkiteStep } from '../buildkite';
import { CiStatsClient, TestGroupRunOrderResponse } from './client';

import DISABLED_JEST_CONFIGS from '../../disabled_jest_configs.json';

type RunGroup = TestGroupRunOrderResponse['types'][0];

const getRequiredEnv = (name: string) => {
Expand Down Expand Up @@ -220,6 +222,7 @@ export async function pickTestGroupRunOrder() {
? globby.sync(['**/jest.config.js', '!**/__fixtures__/**'], {
cwd: process.cwd(),
absolute: false,
ignore: DISABLED_JEST_CONFIGS,
})
: [];

Expand Down

0 comments on commit 65d3ade

Please sign in to comment.