Skip to content

Commit

Permalink
try fix failed check
Browse files Browse the repository at this point in the history
  • Loading branch information
ceceppa committed Oct 26, 2023
1 parent 85ee351 commit 6afe004
Show file tree
Hide file tree
Showing 4 changed files with 50 additions and 3 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
/.idea/
/test-project/.import/
.godot
45 changes: 45 additions & 0 deletions gut-ci-test-project/godot4/.gut_editor_config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
{
"background_color": "262626ff",
"compact_mode": false,
"config_file": "res://.gutconfig.json",
"dirs": [
"res://tests/unit"
],
"disable_colors": false,
"double_strategy": 1,
"errors_do_not_cause_failure": false,
"font_color": "ccccccff",
"font_name": "CourierPrime",
"font_size": 16,
"gut_on_top": true,
"hide_orphans": false,
"ignore_pause": false,
"include_subdirs": false,
"inner_class": null,
"junit_xml_file": "",
"junit_xml_timestamp": false,
"log_level": 1,
"opacity": 100,
"paint_after": 0.1,
"panel_options": {
"font_name": "CourierPrime",
"font_size": 30,
"hide_output_text": false,
"hide_result_tree": false,
"hide_settings": false,
"output_font_name": "CourierPrime",
"output_font_size": 30,
"use_colors": false
},
"post_run_script": "",
"pre_run_script": "",
"prefix": "test_",
"selected": null,
"should_exit": false,
"should_exit_on_success": false,
"should_maximize": false,
"show_help": false,
"suffix": ".gd",
"tests": [],
"unit_test_name": null
}
6 changes: 3 additions & 3 deletions gut-ci-test-project/godot4/default_env.tres
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[gd_resource type="Environment" load_steps=2 format=2]
[gd_resource type="Environment" load_steps=2 format=3 uid="uid://karftdfhcwcj"]

[sub_resource type="Sky" id=1]
[sub_resource type="Sky" id="1"]

[resource]
background_mode = 2
background_sky = SubResource( 1 )
sky = SubResource("1")
1 change: 1 addition & 0 deletions init-and-run-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ fi

if grep -q "[Failed]:" "$TEMP_FILE"
then
cat $TEMP_FILE
echo "One or more test have failed"
exit 1
fi
Expand Down

0 comments on commit 6afe004

Please sign in to comment.