mirror of
https://github.com/microsoft/vscode.git
synced 2026-09-30 06:58:55 +01:00
Exclude tests from CodeQL analysis Reduce the CodeQL database size so default-branch overlay databases can be cached and reused by pull request scans. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
22 lines
664 B
YAML
22 lines
664 B
YAML
# Apply this file to CodeQL default setup with the repository property:
|
|
# github-codeql-config-file: ./.github/codeql/codeql-config.yml
|
|
paths-ignore:
|
|
# Keep directory exclusions scoped: product code imports helpers from some
|
|
# extension src/test directories.
|
|
- 'test/**'
|
|
- 'src/**/test/**'
|
|
- 'build/**/test/**'
|
|
- 'cli/tests/**'
|
|
- '.eslint-plugin-local/tests/**'
|
|
- 'extensions/*/test/**'
|
|
- 'extensions/*/tests/**'
|
|
# Keep exact suffixes: themes.test.contribution.ts ships in the product.
|
|
- '**/*.test.js'
|
|
- '**/*.test.jsx'
|
|
- '**/*.test.mjs'
|
|
- '**/*.test.cjs'
|
|
- '**/*.test.ts'
|
|
- '**/*.test.tsx'
|
|
- '**/*.test.mts'
|
|
- '**/*.test.cts'
|