mirror of
https://github.com/apache/superset.git
synced 2026-05-11 19:05:24 +00:00
build: inline external Github Actions to unblock CI (#12241)
* build: inline cached-dependencies to unblock CI * Run E2E on pull_request on;y * Inline all external actions * Checkout needed for internal actions Also fixes pre-commit * Add missing files
This commit is contained in:
29
.github/actions/file-changes-action/jest.config.js
vendored
Normal file
29
.github/actions/file-changes-action/jest.config.js
vendored
Normal file
@@ -0,0 +1,29 @@
|
||||
module.exports = {
|
||||
preset: 'ts-jest',
|
||||
testEnvironment: "node",
|
||||
testRunner: 'jest-circus/runner',
|
||||
testMatch: ['**/*.test.ts'],
|
||||
testPathIgnorePatterns: ['/src/tests/integration.test.ts'],
|
||||
clearMocks: true,
|
||||
collectCoverage: false,
|
||||
coverageThreshold: {
|
||||
global: {
|
||||
branches: 50,
|
||||
functions: 70,
|
||||
lines: 75,
|
||||
statements: 75
|
||||
},
|
||||
'./src/*.ts': {
|
||||
branches: 70,
|
||||
functions: 85,
|
||||
lines: 85,
|
||||
statements: 85
|
||||
},
|
||||
'./src/tests/**/*.ts': {
|
||||
branches: 50,
|
||||
functions: 60,
|
||||
lines: 65,
|
||||
statements: 65
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user