Compare commits

..

3 Commits

Author SHA1 Message Date
30817576b9 Merge pull request 'main' (#7) from main into release/playtest-04-26
All checks were successful
Create tag and build when new code gets to main / ReleaseName (push) Successful in 4s
Create tag and build when new code gets to main / Release (push) Successful in 16m18s
Reviewed-on: #7
2026-04-22 14:20:37 +00:00
70d0f66df3 Merge pull request 'ground slam damage depends on height' (#6) from main into release/playtest-04-26
All checks were successful
Create tag and build when new code gets to main / ReleaseName (push) Successful in 3s
Create tag and build when new code gets to main / Release (push) Successful in 14m25s
Reviewed-on: #6
2026-04-21 16:48:45 +00:00
c145c709e3 Merge pull request 'main' (#5) from main into release/playtest-04-26
All checks were successful
Create tag and build when new code gets to main / ReleaseName (push) Successful in 4s
Create tag and build when new code gets to main / Release (push) Successful in 13m49s
Reviewed-on: #5
2026-04-21 12:36:33 +00:00
2 changed files with 42 additions and 114 deletions

View File

@@ -39,110 +39,47 @@ jobs:
INITIAL_VERSION: 0.1.0 INITIAL_VERSION: 0.1.0
DEFAULT_BUMP: patch DEFAULT_BUMP: patch
Test: # Test:
runs-on: godot # runs-on: godot
env: ## env:
RUNNER_TOOL_CACHE: /toolcache # Runner Tool Cache ## RUNNER_TOOL_CACHE: /toolcache # Runner Tool Cache
steps: # steps:
- 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: Setup Godot # - name: Setup Godot
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:
godot-version: ${GODOT_VERSION}
dotnet-version: ${DOTNET_VERSION}
- name: 🔬 Verify Setup
run: |
dotnet --version
${{ steps.setup-godot.outputs.godot_bin }} --version
- name: 🧑‍🔬 Generate .NET Bindings
run: ${{ steps.setup-godot.outputs.godot_bin }} --headless --build-solutions --quit || exit 0
- name: Run C# Tests
env:
GODOT_BIN: ${{ steps.setup-godot.outputs.godot_bin }}
shell: bash
run: |
dotnet test --no-build --settings .runsettings --results-directory ./reports --logger "console;verbosity=normal" --logger "trx;LogFileName=results.xml" -- GdUnit4.Parameters="--verbose --headless --import"
# - name: Run tests
# uses: godot-gdunit-labs/gdUnit4-action@v1
# with: # with:
# godot-version: ${GODOT_VERSION} # godot-version: ${GODOT_VERSION}
# godot-net: true
# godot-force-mono: true
# dotnet-version: ${DOTNET_VERSION} # dotnet-version: ${DOTNET_VERSION}
# paths: | #
# res://tests/ # - name: Run C# Tests
# publish-report: false # env:
# upload-report: false # GODOT_BIN: ${{ steps.setup-godot.outputs.godot_bin }}
# console-verbosity: 'normal' # shell: bash
# arguments: "--verbose --headless --import" # run: |
# dotnet test --no-build --settings .runsettings --results-directory ./reports --logger "console;verbosity=normal" --logger "trx;LogFileName=results.xml" -- GdUnit4.Parameters="--verbose --headless --import"
- name: Upload test report #
uses: actions/upload-artifact@v3-node20 ## - name: Run tests
with: ## uses: godot-gdunit-labs/gdUnit4-action@v1
name: Test Report ## with:
path: ${{ github.workspace }}/reports/test-result.html ## godot-version: ${GODOT_VERSION}
## godot-net: true
OtherTest: ## godot-force-mono: true
runs-on: godot ## dotnet-version: ${DOTNET_VERSION}
env: ## paths: |
RUNNER_TOOL_CACHE: /toolcache # Runner Tool Cache ## res://tests/
steps: ## publish-report: false
- name: Checkout with LFS ## upload-report: false
uses: https://git.game-dev.space/minimata/checkout-with-lfs.git@main ## console-verbosity: 'normal'
## arguments: "--verbose --headless --import"
- uses: actions/setup-dotnet@v5 #
name: 💽 Setup .NET SDK # - name: Upload test report
with: # uses: actions/upload-artifact@v3-node20
dotnet-version: ${DOTNET_VERSION} # with:
# name: Test Report
- name: 📦 Restore Dependencies # path: ${{ github.workspace }}/reports/test-result.html
run: |
dotnet --version
dotnet restore
dotnet build
dotnet list package
- uses: chickensoft-games/setup-godot@v2
name: 🤖 Setup Godot
with:
# Version must include major, minor, and patch, and be >= 4.0.0
# Pre-release label is optional.
version: ${GODOT_VERSION}
# Use .NET-enabled version of Godot (the default is also true).
use-dotnet: true
# Include the Godot Export Templates (the default is false).
include-templates: true
- name: 🔬 Verify Setup
run: |
dotnet --version
godot --version
- name: 🧑‍🔬 Generate .NET Bindings
run: godot --headless --build-solutions --quit || exit 0
- name: 🦺 Build Projects
run: dotnet build --configuration Release
- name: Run C# Tests
env:
GODOT_BIN: godot
shell: bash
run: |
dotnet test --no-build --settings .runsettings --results-directory ./reports --logger "console;verbosity=normal" --logger "trx;LogFileName=results.xml" -- GdUnit4.Parameters="--verbose --headless --import"
- name: Upload test report
uses: actions/upload-artifact@v3-node20
with:
name: Test Report
path: ${{ github.workspace }}/reports/test-result.html
Export: Export:
runs-on: godot runs-on: godot

View File

@@ -3,8 +3,6 @@
<TargetFramework>net9.0</TargetFramework> <TargetFramework>net9.0</TargetFramework>
<EnableDynamicLoading>true</EnableDynamicLoading> <EnableDynamicLoading>true</EnableDynamicLoading>
<RootNamespace>Movementtests</RootNamespace> <RootNamespace>Movementtests</RootNamespace>
<!-- Catch compiler-mismatch issues with the Introspection generator -->
<WarningsAsErrors>CS9057</WarningsAsErrors>
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>
<Content Include=".runsettings" /> <Content Include=".runsettings" />
@@ -133,13 +131,6 @@
<ItemGroup> <ItemGroup>
<PackageReference Include="RustyOptions" Version="0.10.1" /> <PackageReference Include="RustyOptions" Version="0.10.1" />
</ItemGroup> </ItemGroup>
<ItemGroup>
<PackageReference Include="Chickensoft.GodotNodeInterfaces" Version="3.0.12" />
<PackageReference Include="Chickensoft.Introspection" Version="3.0.2" />
<PackageReference Include="Chickensoft.Introspection.Generator" Version="3.0.2" PrivateAssets="all" OutputItemType="analyzer" />
<PackageReference Include="Chickensoft.AutoInject" Version="2.12.8" PrivateAssets="all" />
<PackageReference Include="Chickensoft.AutoInject.Analyzers" Version="2.12.8" PrivateAssets="all" OutputItemType="analyzer" />
</ItemGroup>
<Import Project="addons/forge/Forge.props" /> <Import Project="addons/forge/Forge.props" />
<!-- gdUnit4 package dependencies --> <!-- gdUnit4 package dependencies -->