Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 . .
Expand Down
7 changes: 7 additions & 0 deletions bin/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion tests/example-type-hints/expected_results.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down