trying to fix Export
Some checks failed
Create tag and build when new code gets to main / BumpTag (push) Successful in 35s
Create tag and build when new code gets to main / Export (push) Has been cancelled

This commit is contained in:
2026-01-26 08:29:43 +01:00
parent 7323b6e814
commit 64957334de
3 changed files with 41 additions and 41 deletions

View File

@@ -92,9 +92,19 @@ jobs:
apt update && apt -y install curl zip nodejs
- name: Checkout
uses: https://git.game-dev.space/minimata/checkout-with-lfs.git@main
uses: actions/checkout@v6
with:
checkout-version: 3
lfs: false
persist-credentials: true
- name: Checkout LFS
run: |
git lfs install --local
AUTH=$(git config http.${{ gitea.server_url }}/.extraheader)
AUTH_FILE=$(git config includeif.gitdir:/workspace/${{ gitea.repository }}/.git.path)
git config -f $AUTH_FILE --unset http.${{ gitea.server_url }}/.extraheader
git config -f $AUTH_FILE http.${{ gitea.server_url }}/${{ gitea.repository }}.git/info/lfs/objects/batch.extraheader "$AUTH"
git lfs pull
- name: Import resources and build solution
run: |

View File

@@ -1,6 +1,6 @@
<Project Sdk="Godot.NET.Sdk/4.5.0">
<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<TargetFramework>net9.0</TargetFramework>
<EnableDynamicLoading>true</EnableDynamicLoading>
<RootNamespace>Movementtests</RootNamespace>
</PropertyGroup>
@@ -129,14 +129,4 @@
<ItemGroup>
<PackageReference Include="RustyOptions" Version="0.10.1" />
</ItemGroup>
<!-- gdUnit4 package dependencies -->
<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="18.0.0"/>
<PackageReference Include="gdUnit4.api" Version="5.1.0-rc3"/>
<PackageReference Include="gdUnit4.test.adapter" Version="3.0.0"/>
<PackageReference Include="gdUnit4.analyzers" Version="1.0.0">
<PrivateAssets>none</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
</ItemGroup>
</Project>

View File

@@ -1,28 +1,28 @@
namespace Movementtests.tests;
using GdUnit4;
using static GdUnit4.Assertions;
[TestSuite]
public class ExampleTest
{
[Before]
public void Setup() {
// Setup suite-level shared resources, expensive setup
}
[After]
public void Cleanup() {
// Cleanup suite-level shared resources, expensive setup
}
[TestCase]
public void StringToLower() {
AssertString("AbcD".ToLower()).IsEqual("abcd");
}
[TestCase]
public void StringToUpper() {
AssertString("AbcD".ToUpper()).IsEqual("ABCD");
}
}
// namespace Movementtests.tests;
//
// using GdUnit4;
// using static GdUnit4.Assertions;
//
// [TestSuite]
// public class ExampleTest
// {
// [Before]
// public void Setup() {
// // Setup suite-level shared resources, expensive setup
// }
//
// [After]
// public void Cleanup() {
// // Cleanup suite-level shared resources, expensive setup
// }
//
// [TestCase]
// public void StringToLower() {
// AssertString("AbcD".ToLower()).IsEqual("abcd");
// }
//
// [TestCase]
// public void StringToUpper() {
// AssertString("AbcD".ToUpper()).IsEqual("ABCD");
// }
// }