mirror of
https://github.com/nomic-ai/gpt4all
synced 2024-11-18 03:25:46 +00:00
tests on windows
This commit is contained in:
parent
a987d0a98f
commit
33ead4cbf1
@ -398,20 +398,30 @@ jobs:
|
|||||||
paths:
|
paths:
|
||||||
- C:\Users\circleci\.nuget\packages
|
- C:\Users\circleci\.nuget\packages
|
||||||
key: gpt4all-csharp-bindings
|
key: gpt4all-csharp-bindings
|
||||||
- run:
|
|
||||||
name: "Run C# Tests"
|
|
||||||
command: |
|
|
||||||
cd gpt4all-bindings/csharp
|
|
||||||
dotnet.exe test Gpt4All.Tests --filter SKIP_ON_CI!=True
|
|
||||||
- run:
|
- run:
|
||||||
name: Build C# Project
|
name: Build C# Project
|
||||||
command: |
|
command: |
|
||||||
cd gpt4all-bindings/csharp
|
cd gpt4all-bindings/csharp
|
||||||
dotnet.exe build Gpt4All --configuration Release
|
dotnet.exe build Gpt4All --configuration Release
|
||||||
|
- run:
|
||||||
|
name: "Run C# Tests"
|
||||||
|
command: |
|
||||||
|
cd gpt4all-bindings/csharp
|
||||||
|
dotnet.exe 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 $Env:Path += ";$Env:USERPROFILE\.dotnet\tools"
|
||||||
|
trx2junit TestResults/*.trx
|
||||||
|
- store_test_results:
|
||||||
|
path: gpt4all-bindings/csharp/Gpt4All.Tests/TestResults
|
||||||
- persist_to_workspace:
|
- persist_to_workspace:
|
||||||
root: gpt4all-bindings/csharp/runtimes/win-x64/native
|
root: gpt4all-bindings/csharp
|
||||||
paths:
|
paths:
|
||||||
- "*.dll"
|
- runtimes/win-x64/native/
|
||||||
|
|
||||||
store-and-upload-nupkgs:
|
store-and-upload-nupkgs:
|
||||||
docker:
|
docker:
|
||||||
|
Loading…
Reference in New Issue
Block a user