Skip to content

Commit

Permalink
Add dotnet config in jenkins pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
pasin committed Oct 2, 2024
1 parent 5d5f72f commit 9cf3fa4
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
7 changes: 7 additions & 0 deletions jenkins/pipelines/dotnet/config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"$schema": "https://packages.couchbase.com/couchbase-lite/testserver.schema.json",
"test-servers": ["http://localhost:8080"],
"sync-gateways": [{"hostname": "192.168.86.21", "tls": true}],
"couchbase-servers": [{"hostname": "localhost"}],
"api-version": 1
}
3 changes: 2 additions & 1 deletion jenkins/pipelines/dotnet/winui_test.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ Push-Location $PSScriptRoot\..\..\..\tests
python -m venv venv
.\venv\Scripts\activate
pip install -r requirements.txt
pytest -v --no-header --config config.example.json
Copy-Item $PSScriptRoot\..\..\..\jenkins\pipelines\dotnet\config.json .
pytest -v --no-header --config config.json
deactivate
Pop-Location

0 comments on commit 9cf3fa4

Please sign in to comment.