Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
105 commits
Select commit Hold shift + click to select a range
03c70ac
Update QUICKSTART.md
markp3rry Feb 18, 2024
fec0c0a
Update QUICKSTART.md
markp3rry Feb 19, 2024
932414f
Merge pull request #186 from markp3rry/patch-1
db0 Feb 19, 2024
b314af5
update to 4.0. all compile-time and most run-time errors solved.
menaechmi Mar 13, 2024
af1df15
remerge update to quickstart.md
menaechmi Mar 13, 2024
a525aaa
Futher 3->4 fixes. Most tests can complete, even if they do not pass
menaechmi Sep 13, 2024
8d2ae69
Change github actions to 4.2.1 gut tester
menaechmi Sep 13, 2024
0e535e7
Create test_results.xml
menaechmi Sep 13, 2024
b55ed70
output-file doesn't always work
menaechmi Sep 13, 2024
3dc7da0
Update gut.yml
menaechmi Sep 13, 2024
a3d8f5f
Update gut.yml
menaechmi Sep 13, 2024
0fd13ec
change gut.yml to godot-gut-ci
menaechmi Sep 13, 2024
71e2535
Update gut.yml
menaechmi Sep 13, 2024
6310632
Update gut.yml
menaechmi Sep 13, 2024
4551980
Update .gitignore for Godot 4
idbrii Dec 27, 2024
08ce068
Add *.import files
idbrii Dec 27, 2024
ac8f7fa
Upgrade gut to v9.3.0
idbrii Dec 27, 2024
dcbc810
Merge pull request #3 from idbrii/gut-930
menaechmi Jun 23, 2025
9287085
Use get_ref before accessing card tweens (#4)
idbrii Jun 23, 2025
a8ef3da
button.pressed -> button.button_pressed
menaechmi Jun 23, 2025
96a2ef9
change uid of font
menaechmi Jun 23, 2025
9b395b7
Fix card class unit tests
menaechmi Jun 23, 2025
a78810e
idle_frame is process_frame
menaechmi Jun 23, 2025
ef0f554
fix a few more if_tween()
menaechmi Jun 24, 2025
5353446
remove AskInteger test
menaechmi Jun 24, 2025
0ae10ce
fix cardcontainer tests
menaechmi Jun 24, 2025
0a96099
implement WeakRef tweens for CardContainers + Piles
menaechmi Jun 24, 2025
832ee3f
cleanup some test teardown
menaechmi Jun 24, 2025
945d8a8
remove await tweeners
menaechmi Jun 24, 2025
0b6de34
Fix Pile Unit test
menaechmi Jun 24, 2025
04e63ee
Fix pile tests
menaechmi Jun 30, 2025
3d2b92c
add _add_child, _move_child, _remove child
menaechmi Jul 1, 2025
601abca
fix card_class unit test
menaechmi Jul 1, 2025
16d5df9
fix order of tests (got, expected) from (expected, got)
menaechmi Jul 1, 2025
cd7335d
fix Deck_builder unit test
menaechmi Jul 1, 2025
7114bea
fix pile_class unit test
menaechmi Jul 1, 2025
9ee3734
fix cardcontainer unit test
menaechmi Jul 1, 2025
426bf73
re-enable a few tweens
menaechmi Jul 1, 2025
dabe528
VCPreviewPopup: weakref tween
menaechmi Jul 1, 2025
0309a1c
fix the co-routine of Token.gd
menaechmi Jul 1, 2025
243502e
Pile fix modulate tween
menaechmi Jul 1, 2025
c742d65
Try to ensure all co-routines are co-routines
menaechmi Jul 1, 2025
2a5c39d
fix warnings: UID, unused parameters, etc
menaechmi Jul 1, 2025
c5add51
IntegerLineEdit: disconnect signal on tree exit
menaechmi Jul 1, 2025
b4f39ee
MousePointer: re-enable offset_mouse_position
menaechmi Jul 1, 2025
ae26e8b
AskInteger unit test finshing up
menaechmi Jul 1, 2025
b6eee89
Pile: Add theme override for tweens
menaechmi Jul 1, 2025
0af29a1
[CI] Update Workflow
menaechmi Jul 2, 2025
7659125
[Tests] integration/test_board_use remove awaits
menaechmi Jul 2, 2025
c291755
Fix _add_child for vboxcontainer
menaechmi Jul 2, 2025
1628d56
Potentially fix dupe card_front issue
menaechmi Jul 2, 2025
d67916f
[Core] No longer await Alterant Engine
menaechmi Jul 2, 2025
92bcde5
Tween.start() -> Tween.play()
menaechmi Jul 2, 2025
5f4a603
[Dirty] Re-import all scenes
menaechmi Jul 3, 2025
718f74f
[CI] Update workflow to always upload the output
menaechmi Jul 3, 2025
86bc987
Fix scene layouts
menaechmi Jul 7, 2025
cf6dbc0
[Card Template] Fix p_elem->_root error
menaechmi Jul 7, 2025
787a0e1
[CI] Make workflow valid again
menaechmi Jul 7, 2025
6445501
[Core] Remove redundant awaits
menaechmi Jul 8, 2025
8ad7bce
[Tests] Remove redundant awaits
menaechmi Jul 8, 2025
17b0030
[Core] Fix script priming for Targets
menaechmi Jul 8, 2025
054a559
[Core][Tests] add some comments
menaechmi Jul 8, 2025
6c745fd
[Core] fix a few errors
menaechmi Jul 9, 2025
84a7721
[Core] Fix shuffle_completed not being propogated
menaechmi Jul 9, 2025
ff5acb1
[Core] Re-enable using MousePointer
menaechmi Jul 10, 2025
e75f28c
[Core] [Tests] Fix test_scripting_engine_popups
menaechmi Jul 10, 2025
47750e7
[Tests] Fix unit tests after last changes
menaechmi Jul 10, 2025
04c1acc
Fix test_facedown and scripting_engine_costs
menaechmi Jul 10, 2025
60bb835
[Tests] test_card_class fix race condtion
menaechmi Jul 10, 2025
0afe58c
[Tests] fix some errors
menaechmi Jul 10, 2025
f38d603
Mostly complete now for real
menaechmi Jul 12, 2025
98939b2
39 failing tests remain
menaechmi Jul 15, 2025
c418c78
Fix some TODOS
menaechmi Jul 15, 2025
11dfe63
[Tests] Hopefully fix test drag drop
menaechmi Jul 15, 2025
61c811d
test_board_use: only 38 failing tests remain
menaechmi Jul 15, 2025
61d36d7
[Tests] signal_tags: only 37 failing tests remain
menaechmi Jul 15, 2025
b1f953f
[Tests] move_card_to_container modification
menaechmi Jul 15, 2025
6a00846
[Tests] Fix unit test timing
menaechmi Jul 15, 2025
21293d3
[Tests] scripting_engine_subjects
menaechmi Jul 15, 2025
677422b
[Tests] Fix test_card_index
menaechmi Jul 15, 2025
10665f3
[Tests] Fix test_mouse_pointer
menaechmi Jul 16, 2025
76d6862
[Tests] Add offset to drag_card()
menaechmi Jul 16, 2025
3670d3f
[Tests] fix test piles
menaechmi Jul 16, 2025
c0fa40c
[Tests] Fix scripting_engine_filters
menaechmi Jul 16, 2025
75d10e4
[Tests] fix test_scripting_engine_costs
menaechmi Jul 16, 2025
8fb6f24
[Tests] Fix test_attachments
menaechmi Jul 16, 2025
7ae55b2
[Tests] Fix test_board_use
menaechmi Jul 16, 2025
c2c1e79
[Tests] Fix test_mouse_pointer
menaechmi Jul 16, 2025
9b5ea42
[Tests] Fix test_scaling_focus
menaechmi Jul 16, 2025
4b81c9c
[Tests] Fix test_placement_grid
menaechmi Jul 17, 2025
ad901c2
[Core][Tests] fix test_scripting_engine_signals
menaechmi Jul 17, 2025
4259be2
[Tests] Fix test_scripting_engine_tasks
menaechmi Jul 17, 2025
9c252a1
[Tests] fix test_targetting
menaechmi Jul 17, 2025
c5e9db4
[Core] Enable TokenDrawer
menaechmi Jul 17, 2025
e19c838
[Tests] Fix test_tokens
menaechmi Jul 17, 2025
099b70d
[Core] TargetingArrow fix out of index error
menaechmi Jul 17, 2025
d694842
[Tests] Fix test_targetting
menaechmi Jul 17, 2025
207e3ec
CardTemplate: Remove call deferred, as -> is
menaechmi Jul 17, 2025
228658e
[Tests] Fix test_viewport_focus
menaechmi Jul 17, 2025
7da531f
[Tests] fix test_reshuffle_all
menaechmi Jul 17, 2025
82b81ef
[Core] Some tween cleanup
menaechmi Jul 17, 2025
d32d420
[Tests] Fix remaining tests (more or less)
menaechmi Jul 17, 2025
6acfd62
Cleanup a few last things
menaechmi Jul 18, 2025
9ee7555
Reimport and change renderer
menaechmi Jul 18, 2025
5baf68b
Add some final comments on font
menaechmi Jul 18, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
88 changes: 50 additions & 38 deletions .github/workflows/gut.yml
Original file line number Diff line number Diff line change
@@ -1,38 +1,50 @@
name: GUT

on:
push:
branches-ignore:
- main

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
GUT_Tests:
# The type of runner that the job will run on
runs-on: ubuntu-latest

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v3
- name: Check out personal godot-tester repository
uses: actions/checkout@v3
with:
repository: db0/godot-tester
path: ./.github/actions/godot-tester
# Runs a single command using the runners shell
- name: Godot Tester
uses: ./.github/actions/godot-tester
with:
version: 3.4.4
# should be long enough for asset import files to get generated
import-time: 10
assert-check: true
max-fails: 0
# How long the test should be run before it's timed out and fails
test-timeout: 900
# Directory containing Gut tests
direct-scene: tests/cli/tests.tscn
name: GUT

on:
push:
branches:
- conversion

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

jobs:
GUT:
name: Run GUT tests
env:
G_VERSION: 4.2.2
GODOT: /usr/local/bin/godot
GUT_PARAMS: -gdir=res://tests/ -gjunit_xml_file=output.xml
GODOT_PARAMS: --headless
runs-on: ubuntu-latest
steps:
- name: Cache Godot Version
uses: actions/cache@v4
id: cache
with:
path: /usr/local/bin/godot
key: ${{ runner.os }}-${{ env.G_VERSION }}
- name: Download Godot
if: ${{ steps.cache.outputs.cache-hit != 'true' }}
run: |
wget https://github.com/godotengine/godot/releases/download/${G_VERSION}-stable/Godot_v${G_VERSION}-stable_linux.x86_64.zip
unzip Godot_v${G_VERSION}-stable_linux.x86_64.zip
echo "moving Godot_v${G_VERSION}-stable_linux.x86_64 to ${GODOT}"
mv Godot_v${G_VERSION}-stable_linux.x86_64 ${GODOT}
- uses: actions/checkout@v4
- name: Import Godot Project
run:
${GODOT} ${GODOT_PARAMS} --import
- name: Run GUT tests
run:
${GODOT} -s ${GODOT_PARAMS} --path $PWD addons/gut/gut_cmdln.gd -gexit ${GUT_PARAMS}
- name: Test Report
uses: mikepenz/action-junit-report@v5
if: success() || failure() #always run even if previous step failed
with:
report_paths: output.xml
- uses: actions/upload-artifact@v4
if: '!cancelled()'
with:
name: GUT-output
path: output.xml
14 changes: 7 additions & 7 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,19 +12,19 @@ jobs:
name: Unit & Integration Tests
steps:
- name: "✔️ Checkout"
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Check out personal godot-tester repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: db0/godot-tester
path: ./.github/actions/godot-tester
# Runs a single command using the runners shell
- name: ⚙ Run Tests
uses: ./.github/actions/godot-tester
with:
version: 3.4.4
version: "4.2.1"
# should be long enough for asset import files to get generated
import-time: 300
assert-check: true
Expand All @@ -40,14 +40,14 @@ jobs:
needs: ["GUT"]
steps:
- name: "✔️ Checkout"
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: "🤖 Export game"
uses: firebelley/godot-export@v3.0.0
uses: firebelley/godot-export@v5.2.1
with:
godot_executable_download_url: https://downloads.tuxfamily.org/godotengine/3.4/Godot_v3.4-stable_linux_headless.64.zip
godot_export_templates_download_url: https://downloads.tuxfamily.org/godotengine/3.4/Godot_v3.4-stable_export_templates.tpz
godot_executable_download_url: https://downloads.tuxfamily.org/godotengine/4.2.1/Godot_v4.2.1-stable_linux.x86_64.zip
godot_export_templates_download_url: https://downloads.tuxfamily.org/godotengine/4.2.1/Godot_v4.2.1-stable_export_templates.tpz
relative_project_path: ./
base_version: Demo
create_release: false
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/test_results.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

12 changes: 10 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,14 +1,22 @@
# Godot 4+ specific ignores
.godot/

# Godot-specific ignores
.import/
*.import
export.cfg
*.TMP
export_presets.cfg

# Imported translations (automatically generated from CSV files)
*.translation

# Mono-specific ignores
.mono/
data_*/
mono_crash.*.json

# Other
demo.txt
reference.json
.vscode
tests/gut_output.xml
todo
2 changes: 1 addition & 1 deletion .gut_editor_config.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,4 @@
"font_name": "CourierPrime",
"font_size": 30
}
}
}
321 changes: 316 additions & 5 deletions BigFont.tres

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions BigFontTheme.tres
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[gd_resource type="Theme" load_steps=2 format=2]
[gd_resource type="Theme" load_steps=2 format=3 uid="uid://cxcwoybirn7yg"]

[ext_resource path="res://BigFont.tres" type="DynamicFont" id=1]
[ext_resource type="FontFile" path="res://BigFont.tres" id="1"]

[resource]
default_font = ExtResource( 1 )
default_font = ExtResource("1")
Loading