Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 64957334de |
@@ -92,9 +92,19 @@ jobs:
|
|||||||
apt update && apt -y install curl zip nodejs
|
apt update && apt -y install curl zip nodejs
|
||||||
|
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: https://git.game-dev.space/minimata/checkout-with-lfs.git@main
|
uses: actions/checkout@v6
|
||||||
with:
|
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
|
- name: Import resources and build solution
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<Project Sdk="Godot.NET.Sdk/4.5.0">
|
<Project Sdk="Godot.NET.Sdk/4.5.0">
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<TargetFramework>net8.0</TargetFramework>
|
<TargetFramework>net9.0</TargetFramework>
|
||||||
<EnableDynamicLoading>true</EnableDynamicLoading>
|
<EnableDynamicLoading>true</EnableDynamicLoading>
|
||||||
<RootNamespace>Movementtests</RootNamespace>
|
<RootNamespace>Movementtests</RootNamespace>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
@@ -129,14 +129,4 @@
|
|||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<PackageReference Include="RustyOptions" Version="0.10.1" />
|
<PackageReference Include="RustyOptions" Version="0.10.1" />
|
||||||
</ItemGroup>
|
</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>
|
</Project>
|
||||||
@@ -1,28 +1,28 @@
|
|||||||
namespace Movementtests.tests;
|
// namespace Movementtests.tests;
|
||||||
|
//
|
||||||
using GdUnit4;
|
// using GdUnit4;
|
||||||
using static GdUnit4.Assertions;
|
// using static GdUnit4.Assertions;
|
||||||
|
//
|
||||||
[TestSuite]
|
// [TestSuite]
|
||||||
public class ExampleTest
|
// public class ExampleTest
|
||||||
{
|
// {
|
||||||
[Before]
|
// [Before]
|
||||||
public void Setup() {
|
// public void Setup() {
|
||||||
// Setup suite-level shared resources, expensive setup
|
// // Setup suite-level shared resources, expensive setup
|
||||||
}
|
// }
|
||||||
|
//
|
||||||
[After]
|
// [After]
|
||||||
public void Cleanup() {
|
// public void Cleanup() {
|
||||||
// Cleanup suite-level shared resources, expensive setup
|
// // Cleanup suite-level shared resources, expensive setup
|
||||||
}
|
// }
|
||||||
|
//
|
||||||
[TestCase]
|
// [TestCase]
|
||||||
public void StringToLower() {
|
// public void StringToLower() {
|
||||||
AssertString("AbcD".ToLower()).IsEqual("abcd");
|
// AssertString("AbcD".ToLower()).IsEqual("abcd");
|
||||||
}
|
// }
|
||||||
|
//
|
||||||
[TestCase]
|
// [TestCase]
|
||||||
public void StringToUpper() {
|
// public void StringToUpper() {
|
||||||
AssertString("AbcD".ToUpper()).IsEqual("ABCD");
|
// AssertString("AbcD".ToUpper()).IsEqual("ABCD");
|
||||||
}
|
// }
|
||||||
}
|
// }
|
||||||
Reference in New Issue
Block a user