Skip to content

Commit

Permalink
ci: Use -s not --script to run tests
Browse files Browse the repository at this point in the history
gut's cmdline script accepts a number of command-line arguments. It
appears that the Godot engine removes most of its own options from the
argument list available to user code, but it leaves any `--script FOO`
or `-s FOO` arguments in place.

gut 9.2.1 understands both the `--script` and `-s` forms, but gut 9.3.0
only understands the `-s` form and raises an error if the `--script`
form is used.

bitwes/Gut#667
  • Loading branch information
wjt committed Nov 4, 2024
1 parent 1e94e46 commit 25cd89d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/checks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,4 @@ jobs:
godot --path . --headless --import
- name: Run tests
run: |
godot --path . --headless --script addons/gut/gut_cmdln.gd -gexit
godot --path . --headless -s addons/gut/gut_cmdln.gd -gexit

0 comments on commit 25cd89d

Please sign in to comment.