trying to fix CI
This commit is contained in:
@@ -9,6 +9,7 @@ on:
|
|||||||
|
|
||||||
env:
|
env:
|
||||||
GODOT_VERSION: 4.6
|
GODOT_VERSION: 4.6
|
||||||
|
DOTNET_VERSION: 'net9.0'
|
||||||
GAME_NAME: MovementTests
|
GAME_NAME: MovementTests
|
||||||
ITCHIO_USERNAME: Minimata
|
ITCHIO_USERNAME: Minimata
|
||||||
ITCHIO_GAMEID: MovementTests
|
ITCHIO_GAMEID: MovementTests
|
||||||
@@ -46,19 +47,34 @@ jobs:
|
|||||||
- name: Checkout with LFS
|
- name: Checkout with LFS
|
||||||
uses: https://git.game-dev.space/minimata/checkout-with-lfs.git@main
|
uses: https://git.game-dev.space/minimata/checkout-with-lfs.git@main
|
||||||
|
|
||||||
- name: Run tests
|
- name: Setup Godot
|
||||||
uses: godot-gdunit-labs/gdUnit4-action@v1
|
id: setup-godot
|
||||||
|
uses: https://git.game-dev.space/minimata/setup-godot.git@main
|
||||||
with:
|
with:
|
||||||
godot-version: ${GODOT_VERSION}
|
godot-version: ${GODOT_VERSION}
|
||||||
godot-net: true
|
dotnet-version: ${DOTNET_VERSION}
|
||||||
godot-force-mono: true
|
|
||||||
dotnet-version: 'net9.0'
|
- name: Run C# Tests
|
||||||
paths: |
|
env:
|
||||||
res://tests/
|
GODOT_BIN: ${{ steps.setup-godot.outputs.godot_bin }}
|
||||||
publish-report: false
|
shell: bash
|
||||||
upload-report: false
|
run: |
|
||||||
console-verbosity: 'normal'
|
dotnet test --no-build --settings .runsettings --results-directory ./reports --logger "console;verbosity=normal" --logger "trx;LogFileName=results.xml" -- GdUnit4.Parameters="--verbose --headless --import"
|
||||||
arguments: "--verbose --headless --import"
|
|
||||||
|
|
||||||
|
# - name: Run tests
|
||||||
|
# uses: godot-gdunit-labs/gdUnit4-action@v1
|
||||||
|
# with:
|
||||||
|
# godot-version: ${GODOT_VERSION}
|
||||||
|
# godot-net: true
|
||||||
|
# godot-force-mono: true
|
||||||
|
# dotnet-version: ${DOTNET_VERSION}
|
||||||
|
# paths: |
|
||||||
|
# res://tests/
|
||||||
|
# publish-report: false
|
||||||
|
# upload-report: false
|
||||||
|
# console-verbosity: 'normal'
|
||||||
|
# arguments: "--verbose --headless --import"
|
||||||
|
|
||||||
- name: Upload test report
|
- name: Upload test report
|
||||||
uses: actions/upload-artifact@v3-node20
|
uses: actions/upload-artifact@v3-node20
|
||||||
@@ -79,8 +95,8 @@ jobs:
|
|||||||
id: setup-godot
|
id: setup-godot
|
||||||
uses: https://git.game-dev.space/minimata/setup-godot.git@main
|
uses: https://git.game-dev.space/minimata/setup-godot.git@main
|
||||||
with:
|
with:
|
||||||
godot-version: '4.6'
|
godot-version: ${GODOT_VERSION}
|
||||||
dotnet-version: 'net9.0'
|
dotnet-version: ${DOTNET_VERSION}
|
||||||
|
|
||||||
- name: Remove GDUnit addon
|
- name: Remove GDUnit addon
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Reference in New Issue
Block a user