Implement production vertical slice foundation
This commit is contained in:
1 parent
9d4a89f355
commit
a18e82eb44
104 files changed
+10595
-268
No files matched your search
+30
-2
@@ -4,7 +4,7 @@ set -euo pipefail
|
||||
SCRIPT_DIRECTORY="$(CDPATH= cd -- "$(dirname -- "$0")" && pwd)"
|
||||
PROJECT_DIRECTORY="$(CDPATH= cd -- "$SCRIPT_DIRECTORY/.." && pwd)"
|
||||
GODOT_EXECUTABLE="${GODOT_BIN:-godot}"
|
||||
REQUIRED_GODOT_VERSION="4.7.1"
|
||||
REQUIRED_GODOT_VERSION="4.7.2"
|
||||
QUALITY_TEMP_DIRECTORY="$(mktemp -d "${TMPDIR:-/tmp}/ransoms-wake-quality.XXXXXX")"
|
||||
|
||||
cleanup_quality_directory() {
|
||||
@@ -56,7 +56,7 @@ printf 'Quality gate: resource loading\n'
|
||||
2>&1 | tee "$QUALITY_TEMP_DIRECTORY/load-console.log"
|
||||
check_godot_log "resource loading" "$QUALITY_TEMP_DIRECTORY/load-console.log"
|
||||
|
||||
printf 'Quality gate: unit tests\n'
|
||||
printf 'Quality gate: POC unit tests\n'
|
||||
"$GODOT_EXECUTABLE" --headless \
|
||||
--log-file "$QUALITY_TEMP_DIRECTORY/unit.log" \
|
||||
--path . \
|
||||
@@ -64,6 +64,34 @@ printf 'Quality gate: unit tests\n'
|
||||
2>&1 | tee "$QUALITY_TEMP_DIRECTORY/unit-console.log"
|
||||
check_godot_log "unit tests" "$QUALITY_TEMP_DIRECTORY/unit-console.log"
|
||||
|
||||
printf 'Quality gate: production dive unit tests\n'
|
||||
"$GODOT_EXECUTABLE" --headless \
|
||||
--log-file "$QUALITY_TEMP_DIRECTORY/dive-unit.log" \
|
||||
--path . \
|
||||
--script tests/unit/run_dive_foundation_tests.gd \
|
||||
2>&1 | tee "$QUALITY_TEMP_DIRECTORY/dive-unit-console.log"
|
||||
check_godot_log "production dive unit tests" "$QUALITY_TEMP_DIRECTORY/dive-unit-console.log"
|
||||
|
||||
printf 'Quality gate: production vehicle application unit tests\n'
|
||||
"$GODOT_EXECUTABLE" --headless \
|
||||
--log-file "$QUALITY_TEMP_DIRECTORY/vehicle-application-unit.log" \
|
||||
--path . \
|
||||
--script tests/unit/run_vehicle_application_tests.gd \
|
||||
2>&1 | tee "$QUALITY_TEMP_DIRECTORY/vehicle-application-unit-console.log"
|
||||
check_godot_log \
|
||||
"production vehicle application unit tests" \
|
||||
"$QUALITY_TEMP_DIRECTORY/vehicle-application-unit-console.log"
|
||||
|
||||
printf 'Quality gate: production foundation integration\n'
|
||||
"$GODOT_EXECUTABLE" --headless \
|
||||
--log-file "$QUALITY_TEMP_DIRECTORY/foundation-integration.log" \
|
||||
--path . \
|
||||
--script tests/integration/run_vertical_slice_foundation.gd \
|
||||
2>&1 | tee "$QUALITY_TEMP_DIRECTORY/foundation-integration-console.log"
|
||||
check_godot_log \
|
||||
"production foundation integration" \
|
||||
"$QUALITY_TEMP_DIRECTORY/foundation-integration-console.log"
|
||||
|
||||
printf 'Quality gate: POC B integration\n'
|
||||
"$GODOT_EXECUTABLE" --headless \
|
||||
--log-file "$QUALITY_TEMP_DIRECTORY/poc_b_integration.log" \
|
||||
|
||||
Reference in new issue
Block a user