|
|
|
@ -347,20 +347,21 @@ jobs:
|
|
|
|
|
name: "Run C# Tests"
|
|
|
|
|
command: |
|
|
|
|
|
cd gpt4all-bindings/csharp
|
|
|
|
|
dotnet test Gpt4All.Tests --no-build --filter SKIP_ON_CI!=True --logger "trx"
|
|
|
|
|
dotnet test Gpt4All.Tests --filter SKIP_ON_CI!=True --logger "trx"
|
|
|
|
|
- run:
|
|
|
|
|
name: test results
|
|
|
|
|
when: always
|
|
|
|
|
command: |
|
|
|
|
|
cd gpt4all-bindings/csharp/Gpt4All.Tests
|
|
|
|
|
dotnet tool install -g trx2junit
|
|
|
|
|
export PATH="$PATH:/root/.dotnet/tools"
|
|
|
|
|
trx2junit tests/**/TestResults/*.trx
|
|
|
|
|
trx2junit TestResults/*.trx
|
|
|
|
|
- store_test_results:
|
|
|
|
|
path: tests/TestResults
|
|
|
|
|
- persist_to_workspace:
|
|
|
|
|
root: gpt4all-bindings/csharp/runtimes/linux-x64/native
|
|
|
|
|
root: gpt4all-bindings/csharp
|
|
|
|
|
paths:
|
|
|
|
|
- "*.so"
|
|
|
|
|
- runtimes/linux-x64/native
|
|
|
|
|
|
|
|
|
|
build-csharp-windows:
|
|
|
|
|
executor:
|
|
|
|
|