Merge pull request #3668 from nocodb/feat/sqlite-change-column

feat: sqlite alter table change column
This commit is contained in:
աɨռɢӄաօռɢ
2022-12-01 16:03:17 +08:00
committed by GitHub
8 changed files with 180 additions and 112 deletions

View File

@@ -7,7 +7,10 @@ const exec = util.promisify(require('child_process').exec);
void (async () => {
const { stdout: allFileNames } = await exec('git diff --name-only origin/develop');
// return if no changed file ends with .js
const testFilesInChangedFiles = allFileNames.split('\n').filter(fileName => fileName.endsWith('.spec.ts'));
const testFilesInChangedFiles = allFileNames
.split('\n')
.filter(fileName => fileName.endsWith('.spec.ts'))
.filter(fileName => fileName.startsWith('+')); // Only get newly added files
if (testFilesInChangedFiles.length === 0) {
console.log('No test file changed, skipping stress test');
return;