Skip to content

Commit

Permalink
Fix output path of Gut tests being global instead of relative to project
Browse files Browse the repository at this point in the history
  • Loading branch information
GsLogiMaker committed May 3, 2024
1 parent fb98da0 commit 35b8831
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 11 deletions.
12 changes: 2 additions & 10 deletions .github/workflows/unittests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,20 +40,12 @@ jobs:
version: 4.2 # default is 3.2.2
# Test against mono version? Default: false
is-mono: false # optional, default is false

# Decimal value for minimum passing score e.g. if 88% of tests pass and minimum-pass is 0.8, then action passes.
#minimum-pass: 1.0 # optional, default is 0.99
# how long to spend importing assets before tests are run
# import-time: "5"
# how long tests can run in seconds
# test-timeout: "45"

minimum-pass: 1.0 # optional, default is 0.99
# Directory containing Gut tests
test-dir: res://unittests # optional, default is res://test

# Maximum number of failing asserts or tests, if this or pass rate fails then the action will fail. Is not checked if you do not set it
#max-fails: 0 # optional, default is false

max-fails: 0 # optional, default is false
# Filename to store and read results in XML
result-output-file: unittest_log.xml # optional, default is test_results.
config-file: "res://.gut_editor_config.json"
Expand Down
2 changes: 1 addition & 1 deletion .gut_editor_config.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"ignore_pause": false,
"include_subdirs": true,
"inner_class": null,
"junit_xml_file": "/home/gabrielschwab/Documents/godot4_projects/glecs_plugin_dev/unittest_log.xml",
"junit_xml_file": "res://unittest_log.xml",
"junit_xml_timestamp": false,
"log_level": 1,
"opacity": 100,
Expand Down

0 comments on commit 35b8831

Please sign in to comment.