mirror of
https://github.com/nomic-ai/gpt4all.git
synced 2025-06-22 05:29:20 +00:00
first attempt to store test results
This commit is contained in:
parent
e40fb67b85
commit
d3831f7dbe
@ -338,16 +338,25 @@ jobs:
|
||||
paths:
|
||||
- ~/.nuget/packages
|
||||
key: gpt4all-csharp-bindings
|
||||
- run:
|
||||
name: "Run C# Tests"
|
||||
command: |
|
||||
cd gpt4all-bindings/csharp
|
||||
dotnet test Gpt4All.Tests --filter SKIP_ON_CI=False
|
||||
- run:
|
||||
name: Build C# Project
|
||||
command: |
|
||||
cd gpt4all-bindings/csharp
|
||||
dotnet build Gpt4All --configuration Release
|
||||
- run:
|
||||
name: "Run C# Tests"
|
||||
command: |
|
||||
cd gpt4all-bindings/csharp
|
||||
dotnet test Gpt4All.Tests --no-build --filter SKIP_ON_CI!=True --logger "trx"
|
||||
- run:
|
||||
name: test results
|
||||
when: always
|
||||
command: |
|
||||
dotnet tool install -g trx2junit
|
||||
export PATH="$PATH:/root/.dotnet/tools"
|
||||
trx2junit tests/**/TestResults/*.trx
|
||||
- store_test_results:
|
||||
path: tests/TestResults
|
||||
- persist_to_workspace:
|
||||
root: gpt4all-bindings/csharp/runtimes/linux-x64/native
|
||||
paths:
|
||||
@ -392,7 +401,7 @@ jobs:
|
||||
name: "Run C# Tests"
|
||||
command: |
|
||||
cd gpt4all-bindings/csharp
|
||||
dotnet.exe test Gpt4All.Tests --filter SKIP_ON_CI=False
|
||||
dotnet.exe test Gpt4All.Tests --filter SKIP_ON_CI!=True
|
||||
- run:
|
||||
name: Build C# Project
|
||||
command: |
|
||||
|
@ -31,4 +31,9 @@ public class ModelFactoryTests
|
||||
{
|
||||
using var model = _modelFactory.LoadModel(Constants.MPT_MODEL_PATH);
|
||||
}
|
||||
|
||||
[Fact]
|
||||
public void DummyTest()
|
||||
{
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user