From d7d41b848a8c7e34ce905620e644139859cde265 Mon Sep 17 00:00:00 2001 From: Kevin Bloch Date: Tue, 22 Apr 2025 18:08:19 +0200 Subject: [PATCH 1/4] Update to (latest stable) Godot 4.4.1 --- Dockerfile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index 7046487..a9f359e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,11 +6,11 @@ RUN apt-get update && \ apt-get clean && \ rm -rf /var/lib/apt/lists/* -# Download and unzip Godot v4.1.1 -RUN wget https://downloads.tuxfamily.org/godotengine/4.1.1/Godot_v4.1.1-stable_linux.x86_64.zip && \ - unzip Godot_v4.1.1-stable_linux.x86_64.zip && \ - mv Godot_v4.1.1-stable_linux.x86_64 /usr/bin/godot && \ - rm Godot_v4.1.1-stable_linux.x86_64.zip +# Download and unzip Godot v4.4.1 +RUN wget https://github.com/godotengine/godot/releases/download/4.4.1-stable/Godot_v4.4.1-stable_linux.x86_64.zip && \ + unzip Godot_v4.4.1-stable_linux.x86_64.zip && \ + mv Godot_v4.4.1-stable_linux.x86_64 /usr/bin/godot && \ + rm Godot_v4.4.1-stable_linux.x86_64.zip WORKDIR /opt/test-runner COPY . . From 3125a7b8b906852abf30a48b3e75421d8e872e64 Mon Sep 17 00:00:00 2001 From: Kevin Bloch Date: Tue, 22 Apr 2025 19:10:36 +0200 Subject: [PATCH 2/4] Fix CI test errors about missing directories --- bin/run.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/bin/run.sh b/bin/run.sh index 0802dfe..fc8048f 100755 --- a/bin/run.sh +++ b/bin/run.sh @@ -29,6 +29,13 @@ results_file="${output_dir}/results.json" # Create the output directory if it doesn't exist mkdir -p "${output_dir}" +# Create Godot directories +export XDG_CONFIG_HOME=/tmp/.config +export XDG_DATA_HOME=/tmp/.local/share +export XDG_CACHE_HOME=/tmp/.cache + +mkdir -p "$XDG_CONFIG_HOME" "$XDG_DATA_HOME" "$XDG_CACHE_HOME" + echo "${slug}: testing..." # Run the tests for the provided implementation file From b210efc450afef540fec0123e42cd48373ad544d Mon Sep 17 00:00:00 2001 From: Kevin Bloch Date: Tue, 22 Apr 2025 19:19:48 +0200 Subject: [PATCH 3/4] Update expected error output to match v4.4.1 --- tests/example-type-hints/expected_results.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/example-type-hints/expected_results.json b/tests/example-type-hints/expected_results.json index 7d52dcb..e26932a 100644 --- a/tests/example-type-hints/expected_results.json +++ b/tests/example-type-hints/expected_results.json @@ -10,7 +10,7 @@ { "name": "test_return_string_incorrect", "status": "error", - "message": "SCRIPT ERROR: Trying to return value of type \"int\" from a function which the return type is \"String\".\n at: return_string (res://tests/example-type-hints/example_type_hints.gd:2)\n" + "message": "SCRIPT ERROR: Trying to return value of type \"int\" from a function whose return type is \"String\".\n at: return_string (res://tests/example-type-hints/example_type_hints.gd:2)\n" }, { "name": "test_accept_int_correct", From f32e6cf169e9a9e2811ebf9e33d604e86b02a7cb Mon Sep 17 00:00:00 2001 From: Kevin Bloch Date: Thu, 24 Apr 2025 10:26:16 +0200 Subject: [PATCH 4/4] Remove dot prefixes from /tmp dirs --- bin/run.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bin/run.sh b/bin/run.sh index fc8048f..38ffa15 100755 --- a/bin/run.sh +++ b/bin/run.sh @@ -30,9 +30,9 @@ results_file="${output_dir}/results.json" mkdir -p "${output_dir}" # Create Godot directories -export XDG_CONFIG_HOME=/tmp/.config -export XDG_DATA_HOME=/tmp/.local/share -export XDG_CACHE_HOME=/tmp/.cache +export XDG_CONFIG_HOME=/tmp/config +export XDG_DATA_HOME=/tmp/local/share +export XDG_CACHE_HOME=/tmp/cache mkdir -p "$XDG_CONFIG_HOME" "$XDG_DATA_HOME" "$XDG_CACHE_HOME"