This repository was archived by the owner on Aug 1, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +13
-4
lines changed
src/Frontend/Jp.UI.SSO/Configuration Expand file tree Collapse file tree 3 files changed +13
-4
lines changed Original file line number Diff line number Diff line change 1- version : 1.0 .{build}
1+ version : 1.2 .{build}
22image : Visual Studio 2017
33branches :
44 only :
55 - master
66pull_requests :
77 do_not_increment_build_number : true
8+
89init :
910 # Good practice, because Windows line endings are different from Unix/Linux ones
1011 - cmd : git config --global core.autocrlf true
@@ -13,5 +14,9 @@ before_build:
1314 - cmd : dotnet --version
1415 # Display minimal restore text
1516 - cmd : dotnet restore ./src --verbosity m
17+
1618build_script :
17- - cmd : dotnet build ./src
19+ - cmd : dotnet build ./src
20+
21+ test_script :
22+ - cmd : dotnet test ./src
Original file line number Diff line number Diff line change @@ -12,3 +12,7 @@ variables:
1212steps :
1313- script : dotnet build ./src --configuration $(buildConfiguration)
1414 displayName : ' dotnet build $(buildConfiguration)'
15+
16+ - script : dotnet test ./src
17+ displayName : ' Running tests'
18+
Original file line number Diff line number Diff line change @@ -11,11 +11,11 @@ public bool TestConnection(DbContext context)
1111
1212 try
1313 {
14- var testDb = context . Database . GetPendingMigrations ( ) ; // Check the database connection
14+ context . Database . GetPendingMigrations ( ) ; // Check the database connection
1515
1616 return true ;
1717 }
18- catch ( Exception ex )
18+ catch
1919 {
2020 return false ;
2121 }
You can’t perform that action at this time.
0 commit comments