build(hololake): stabilize native quality config loading
This commit is contained in:
parent
1cde630864
commit
f01ca6ba5f
2 changed files with 7 additions and 3 deletions
|
|
@ -22,4 +22,8 @@ test('local native candidate has an isolated macOS package identity', async () =
|
|||
)
|
||||
assert.match(packageJson.scripts.build, /--configLoader runner/)
|
||||
assert.match(packageJson.scripts['test:native-core'], /--configLoader runner/)
|
||||
assert.match(
|
||||
await readFile('scripts/run-hololake-native-quality-gate.sh', 'utf8'),
|
||||
/vite build --configLoader runner[\s\S]*vitest run --configLoader runner[\s\S]*--coverage --configLoader runner/,
|
||||
)
|
||||
})
|
||||
|
|
|
|||
|
|
@ -119,12 +119,12 @@ run_gate frontend_zero_warning_lint \
|
|||
run_gate frontend_type_contract \
|
||||
run_package_tool tsc -b
|
||||
run_gate frontend_build \
|
||||
run_package_tool vite build
|
||||
run_package_tool vite build --configLoader runner
|
||||
run_gate frontend_unit_and_integration_tests \
|
||||
run_package_tool vitest run
|
||||
run_package_tool vitest run --configLoader runner
|
||||
run_gate auditable_native_core_lines_and_functions_100 \
|
||||
run_package_tool vitest run \
|
||||
--config vitest.guanghu-native.config.ts --coverage
|
||||
--config vitest.guanghu-native.config.ts --coverage --configLoader runner
|
||||
run_gate rust_format \
|
||||
cargo fmt --all --manifest-path "${repository_root}/src-tauri/Cargo.toml" -- --check
|
||||
run_gate rust_unit_and_integration_tests \
|
||||
|
|
|
|||
Loading…
Reference in a new issue