Skip to content

Commit

Permalink
chore: fix tests in release script (#803)
Browse files Browse the repository at this point in the history
  • Loading branch information
mwwoda authored Feb 10, 2022
1 parent 38619fa commit 2b6748c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build/publish_core_package.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ if($BuildAndTest){
Write-Output "Compilation failed. Aborting script."
exit 1
}
dotnet test -f $NET_CORE_VER
dotnet test $TEST_PATH -f $NET_CORE_VER
if ($LASTEXITCODE -ne 0) {
Write-Output "Some of the unit test failed. Aborting script."
exit 1
Expand Down
2 changes: 1 addition & 1 deletion build/publish_framework_package.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ if($BuildAndTest){
RemoveSensitiveData
exit 1
}
dotnet test -f $NET_FRAMEWORK_VER --verbosity normal
dotnet test $TEST_PATH -f $NET_FRAMEWORK_VER --verbosity normal
if ($LASTEXITCODE -ne 0) {
Write-Output "Some of the unit tests failed. Aborting script."
RemoveSensitiveData
Expand Down
1 change: 1 addition & 0 deletions build/variables.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,4 @@ $NET_FRAMEWORK_VER="net45"
$FRAMEWORK_PDB_PATH=$FRAMEWORK_PROJ_DIR + "\bin\Release\Box.V2.pdb"
$CORE_PDB_PATH=$CORE_PROJ_DIR + "\bin\Release\netstandard2.0\Box.V2.Core.pdb"
$PFX_PATH="$FRAMEWORK_PROJ_DIR" + "\BoxSDKKey.pfx"
$TEST_PATH="$ROOT_DIR" + "\Box.V2.Test"

0 comments on commit 2b6748c

Please sign in to comment.