Skip to content

Commit

Permalink
Fix unittest utils
Browse files Browse the repository at this point in the history
  • Loading branch information
GsLogiMaker committed Nov 22, 2024
1 parent 340964c commit bfc80f9
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/unittests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -194,8 +194,6 @@ jobs:
with:
path: "addons/glecs"

- run: tree

- name: 💾 Load cached library as debug
uses: actions/cache/[email protected]
with:
Expand All @@ -209,6 +207,8 @@ jobs:
key: ${{ matrix.bin_key }}
enableCrossOsArchive: true

- run: tree

- name: 🤖 Setup Godot binary
uses: lihop/setup-godot@v2
with:
Expand Down
2 changes: 1 addition & 1 deletion utils/glecs_tests_runner.tscn
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[gd_scene load_steps=2 format=3 uid="uid://den2fqny506nx"]

[ext_resource type="Script" path="res://glecs_tests_runner.gd" id="1_ivdg4"]
[ext_resource type="Script" path="./glecs_tests_runner.gd" id="1_ivdg4"]

[node name="GlecsUnittests" type="Node"]
script = ExtResource("1_ivdg4")
Expand Down
2 changes: 1 addition & 1 deletion utils/unittests.gd
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

extends SceneTree

const TestRunner:= preload("res://glecs_tests_runner.tscn")
const TestRunner:= preload("./glecs_tests_runner.tscn")

func _initialize():
change_scene_to_packed(TestRunner)
Expand Down

0 comments on commit bfc80f9

Please sign in to comment.