This commit is contained in:
1 parent
22235a9c2d
commit
912123087f
2 files changed
+15
-4
No files matched your search
@@ -48,6 +48,17 @@ bash -n scripts/check_architecture.sh scripts/quality_gate.sh
|
||||
printf 'Quality gate: architecture\n'
|
||||
bash scripts/check_architecture.sh
|
||||
|
||||
printf 'Quality gate: project import\n'
|
||||
if ! "$GODOT_EXECUTABLE" --headless \
|
||||
--log-file "$QUALITY_TEMP_DIRECTORY/import.log" \
|
||||
--path . \
|
||||
--import \
|
||||
>"$QUALITY_TEMP_DIRECTORY/import-console.log" 2>&1; then
|
||||
printf 'Quality gate: project import failed\n'
|
||||
cat "$QUALITY_TEMP_DIRECTORY/import-console.log"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
printf 'Quality gate: resource loading\n'
|
||||
"$GODOT_EXECUTABLE" --headless \
|
||||
--log-file "$QUALITY_TEMP_DIRECTORY/load.log" \
|
||||
|
||||
Reference in new issue
Block a user