Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: fix tests in release script #803

Merged
merged 1 commit into from
Feb 10, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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"