mirror of
https://github.com/lihop/godot-xterm.git
synced 2024-11-10 04:40:25 +01:00
Enable tests for v3.2
OS.set_environment() not available in v3.2 so create a new gut config file that skips these tests for v3.2.
This commit is contained in:
parent
bb18df817d
commit
bec14fee14
2 changed files with 16 additions and 1 deletions
7
.github/workflows/main.yml
vendored
7
.github/workflows/main.yml
vendored
|
@ -308,7 +308,7 @@ jobs:
|
|||
matrix:
|
||||
os: [ windows-latest, macos-latest ]
|
||||
bits: [ 64, 32 ]
|
||||
godot_version: [ 'v3.3.2-stable', 'v3.4-beta1' ]
|
||||
godot_version: [ '3.2', '3.3.2', '3.4-beta1' ]
|
||||
target: [ release, debug ]
|
||||
exclude:
|
||||
- os: macos-latest
|
||||
|
@ -345,8 +345,13 @@ jobs:
|
|||
run: godot --export HTML5
|
||||
|
||||
- name: Run tests
|
||||
if: ${{ matrix.godot_version != '3.2' }}
|
||||
shell: bash
|
||||
run: godot --no-window -s addons/gut/gut_cmdln.gd -gconfig=test/.gutconfig.ci.json
|
||||
- name: Run v3.2 tests
|
||||
if: ${{ matrix.godot_version == '3.2' }}
|
||||
shell: bash
|
||||
run: godot --no-window -s addons/gut/gut_cmdln.gd -gconfig=test/.gutconfig.3.2.json
|
||||
- name: Run unix tests
|
||||
if: ${{ matrix.os == 'macos-latest' || matrix.os == 'ubuntu-latest' }}
|
||||
run: godot --no-window -s addons/gut/gut_cmdln.gd -gconfig=test/.gutconfig.unix.json
|
||||
|
|
10
test/.gutconfig.3.2.json
Normal file
10
test/.gutconfig.3.2.json
Normal file
|
@ -0,0 +1,10 @@
|
|||
{
|
||||
"dirs": [
|
||||
"res://test/unit"
|
||||
],
|
||||
"prefix": "",
|
||||
"suffix": ".test.gd",
|
||||
"include_subdirs": true,
|
||||
"log_level": 2,
|
||||
"should_exit": true
|
||||
}
|
Loading…
Reference in a new issue