-
-
Notifications
You must be signed in to change notification settings - Fork 105
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
111 changed files
with
5,553 additions
and
1,182 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +1,67 @@ | ||
name: GUT | ||
name: Prepare New Release | ||
|
||
on: | ||
push: {} | ||
pull_request: {} | ||
push: | ||
branches: | ||
- 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 | ||
GUT: | ||
runs-on: ubuntu-latest | ||
|
||
# Steps represent a sequence of tasks that will be executed as part of the job | ||
name: Unit & Integration Tests | ||
steps: | ||
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it | ||
- uses: actions/checkout@v2 | ||
|
||
- name: "✔️ Checkout" | ||
uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
- 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: croconut/[email protected] | ||
with: | ||
version: 3.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: ⚙ Run Tests | ||
uses: ./.github/actions/godot-tester | ||
with: | ||
version: 3.4.4 | ||
# should be long enough for asset import files to get generated | ||
import-time: 300 | ||
assert-check: true | ||
# Allowing some fails on push, as sometimes randomly some asserts might false negative and I haven't yet located the precice reason for this inconsistency | ||
max-fails: 0 | ||
# How long the test should be run before it's timed out and fails | ||
test-timeout: 3600 | ||
# Directory containing Gut tests | ||
direct-scene: tests/cli/tests.tscn | ||
version_and_release: | ||
runs-on: ubuntu-latest | ||
name: Export Game | ||
needs: ["GUT"] | ||
steps: | ||
- name: "✔️ Checkout" | ||
uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 0 | ||
- name: "🤖 Export game" | ||
uses: firebelley/[email protected] | ||
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 | ||
relative_project_path: ./ | ||
base_version: Demo | ||
create_release: false | ||
archive_export_output: true | ||
- name: "🛠 Prepare files for publishing" | ||
shell: bash | ||
run: | | ||
cp -v /home/runner/.local/share/godot/dist/* . | ||
- name: "🚀 Upload HTML5 version to itch.io" | ||
uses: josephbmanley/butler-publish-itchio-action@master | ||
env: | ||
BUTLER_CREDENTIALS: "${{ secrets.BUTLER_CREDENTIALS }}" | ||
CHANNEL: HTML5 | ||
ITCH_GAME: card-game-framework | ||
ITCH_USER: dbzer0 | ||
PACKAGE: HTML5.zip | ||
VERSION: Demo |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,6 @@ | |
.import/ | ||
*.import | ||
export.cfg | ||
export_presets.cfg | ||
*.TMP | ||
|
||
# Mono-specific ignores | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
{ | ||
"background_color": "ff343434", | ||
"config_file": "res://.gutconfig.json", | ||
"dirs": [ | ||
"res://tests/unit", | ||
"res://tests/integration" | ||
], | ||
"disable_colors": false, | ||
"double_strategy": "partial", | ||
"font_color": "ffc1bfce", | ||
"font_name": "CourierPrime", | ||
"font_size": 15, | ||
"hide_orphans": false, | ||
"ignore_pause": true, | ||
"include_subdirs": false, | ||
"inner_class": "TestModifyProperties", | ||
"junit_xml_file": "", | ||
"junit_xml_timestamp": false, | ||
"log_level": 3, | ||
"opacity": 70, | ||
"post_run_script": "", | ||
"pre_run_script": "", | ||
"prefix": "test_", | ||
"selected": "test_scripting_engine_tasks_modify_properties.gd", | ||
"should_exit": false, | ||
"should_exit_on_success": false, | ||
"should_maximize": true, | ||
"compact_mode": false, | ||
"show_help": false, | ||
"suffix": ".gd", | ||
"tests": [ | ||
|
||
], | ||
"unit_test_name": "test_modify_properties", | ||
"gut_on_top": true, | ||
"panel_options": { | ||
"font_name": "CourierPrime", | ||
"font_size": 30 | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
[main] | ||
|
||
run_all=Object(ShortCut,"resource_local_to_scene":false,"resource_name":"","shortcut":Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":true,"meta":false,"command":false,"pressed":false,"scancode":49,"physical_scancode":0,"unicode":0,"echo":false,"script":null) | ||
,"script":null) | ||
|
||
run_current_script=Object(ShortCut,"resource_local_to_scene":false,"resource_name":"","shortcut":Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":true,"meta":false,"command":false,"pressed":false,"scancode":50,"physical_scancode":0,"unicode":0,"echo":false,"script":null) | ||
,"script":null) | ||
|
||
run_current_inner=Object(ShortCut,"resource_local_to_scene":false,"resource_name":"","shortcut":Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":true,"meta":false,"command":false,"pressed":false,"scancode":51,"physical_scancode":0,"unicode":0,"echo":false,"script":null) | ||
,"script":null) | ||
|
||
run_current_test=Object(ShortCut,"resource_local_to_scene":false,"resource_name":"","shortcut":Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":true,"meta":false,"command":false,"pressed":false,"scancode":52,"physical_scancode":0,"unicode":0,"echo":false,"script":null) | ||
,"script":null) | ||
|
||
panel_button=Object(ShortCut,"resource_local_to_scene":false,"resource_name":"","shortcut":Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":true,"meta":false,"command":false,"pressed":false,"scancode":48,"physical_scancode":0,"unicode":0,"echo":false,"script":null) | ||
,"script":null) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
[gd_resource type="DynamicFont" load_steps=2 format=2] | ||
|
||
[sub_resource type="DynamicFontData" id=9] | ||
font_path = "res://addons/gut/fonts/LobsterTwo-BoldItalic.ttf" | ||
|
||
[resource] | ||
size = 40 | ||
font_data = SubResource( 9 ) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
[gd_resource type="Theme" load_steps=2 format=2] | ||
|
||
[ext_resource path="res://BigFont.tres" type="DynamicFont" id=1] | ||
|
||
[resource] | ||
default_font = ExtResource( 1 ) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.