-
-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
GD-405: Update workflows to support latest Godot versions (#406)
# Why Godot v4.2.2 and V4.1.4 are out # What - update the workflows and added support for Godot v4.2.2 and V4.1.4 - fix workflow errors using invalid matrix parameters - fix failing test related to the Godot global_position fix godotengine/godot#88473
- Loading branch information
1 parent
c31d518
commit 51a9056
Showing
7 changed files
with
62 additions
and
36 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 |
---|---|---|
|
@@ -22,7 +22,7 @@ jobs: | |
fail-fast: false | ||
max-parallel: 10 | ||
matrix: | ||
godot-version: ['4.1', '4.1.1', '4.1.2', '4.1.3', '4.2', '4.2.1'] | ||
godot-version: ['4.1.2', '4.1.3', '4.1.4', '4.2', '4.2.1', '4.2.2'] | ||
godot-status: ['stable'] | ||
godot-net: ['.Net', ''] | ||
|
||
|
@@ -46,7 +46,7 @@ jobs: | |
# enable selftest on gdUnit4-action | ||
echo "GDUNIT_SELFTEST=true" >> "$GITHUB_ENV" | ||
- name: 'Test GdUnit4 ${{ matrix.version }} - Godot_${{ matrix.godot-version }}-${{ matrix.godot-status }}' | ||
- name: 'Test GdUnit4 (master) - Godot_${{ matrix.godot-version }}-${{ matrix.godot-status }}' | ||
if: ${{ matrix.godot-net == '' }} | ||
uses: MikeSchulze/[email protected] | ||
with: | ||
|
@@ -56,9 +56,9 @@ jobs: | |
paths: | | ||
res://addons/gdUnit4/test/ | ||
timeout: 10 | ||
report-name: report_gdUnit4-${{ matrix.version }}_Godot${{ matrix.godot-version }}-${{ matrix.godot-status }}.xml | ||
report-name: report_gdUnit4_Godot${{ matrix.godot-version }}-${{ matrix.godot-status }}.xml | ||
|
||
- name: 'Test GdUnit4 ${{ matrix.version }} - Godot_${{ matrix.godot-version }}-${{ matrix.godot-status }}-net' | ||
- name: 'Test GdUnit4 (master) - Godot_${{ matrix.godot-version }}-${{ matrix.godot-status }}-net' | ||
if: ${{ matrix.godot-net == '.Net' }} | ||
uses: MikeSchulze/[email protected] | ||
with: | ||
|
@@ -70,4 +70,4 @@ jobs: | |
res://addons/gdUnit4/test/mono | ||
timeout: 5 | ||
retries: 3 # We have set the number of repetitions to 3 because Godot mono randomly crashes during C# tests | ||
report-name: report_gdUnit4-${{ matrix.version }}_Godot${{ matrix.godot-version }}-${{ matrix.godot-status }}-net.xml | ||
report-name: report_gdUnit4_Godot${{ matrix.godot-version }}-${{ matrix.godot-status }}-net.xml |
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 |
---|---|---|
|
@@ -32,7 +32,7 @@ jobs: | |
lfs: true | ||
- uses: MikeSchulze/[email protected] | ||
with: | ||
godot-version: '4.2.1' | ||
godot-version: '4.2.2' | ||
version: 'v4.2.0' | ||
paths: | | ||
res://project/tests/ | ||
|
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 |
---|---|---|
|
@@ -29,14 +29,12 @@ jobs: | |
fail-fast: false | ||
max-parallel: 10 | ||
matrix: | ||
godot-version: ['4.1', '4.1.1', '4.1.2', '4.1.3', '4.2', '4.2.1'] | ||
godot-version: ['4.1', '4.1.1', '4.1.2', '4.1.3', '4.1.4', '4.2', '4.2.1', '4.2.2'] | ||
godot-status: ['stable'] | ||
godot-net: ['.Net', ''] | ||
include: | ||
- godot-version: '4.2.2' | ||
godot-status: 'rc1' | ||
- godot-version: '4.3' | ||
godot-status: 'dev3' | ||
godot-status: 'dev5' | ||
|
||
permissions: | ||
actions: write | ||
|
@@ -58,7 +56,7 @@ jobs: | |
# enable selftest on gdUnit4-action | ||
echo "GDUNIT_SELFTEST=true" >> "$GITHUB_ENV" | ||
- name: 'Test GdUnit4 ${{ matrix.version }} - Godot_${{ matrix.godot-version }}-${{ matrix.godot-status }}' | ||
- name: 'Test GdUnit4 dev - Godot_${{ matrix.godot-version }}-${{ matrix.godot-status }}' | ||
if: ${{ matrix.godot-net == '' }} | ||
uses: MikeSchulze/[email protected] | ||
with: | ||
|
@@ -68,9 +66,9 @@ jobs: | |
paths: | | ||
res://addons/gdUnit4/test/ | ||
timeout: 10 | ||
report-name: report_gdUnit4-${{ matrix.version }}_Godot${{ matrix.godot-version }}-${{ matrix.godot-status }}.xml | ||
report-name: report_gdUnit4_Godot${{ matrix.godot-version }}-${{ matrix.godot-status }}.xml | ||
|
||
- name: 'Test GdUnit4 ${{ matrix.version }} - Godot_${{ matrix.godot-version }}-${{ matrix.godot-status }}-net' | ||
- name: 'Test GdUnit4 dev - Godot_${{ matrix.godot-version }}-${{ matrix.godot-status }}-net' | ||
if: ${{ matrix.godot-net == '.Net' }} | ||
uses: MikeSchulze/[email protected] | ||
with: | ||
|
@@ -82,7 +80,7 @@ jobs: | |
res://addons/gdUnit4/test/mono | ||
timeout: 5 | ||
retries: 3 # We have set the number of repetitions to 3 because Godot mono randomly crashes during C# tests | ||
report-name: report_gdUnit4-${{ matrix.version }}_Godot${{ matrix.godot-version }}-${{ matrix.godot-status }}-net.xml | ||
report-name: report_gdUnit4_Godot${{ matrix.godot-version }}-${{ matrix.godot-status }}-net.xml | ||
|
||
finalize: | ||
if: ${{ !cancelled() }} | ||
|
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
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