Skip to content

Commit

Permalink
test powershell:7.2.0-preview.2
Browse files Browse the repository at this point in the history
  • Loading branch information
max-ieremenko committed Jan 10, 2021
1 parent d9762ba commit 8678bb9
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions Build/build-tasks.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ Include ".\build-scripts.ps1"
Task default -Depends Initialize, Clean, Build, Pack, UnitTest, Test
Task Pack -Depends PackGlobalTool, PackNet452, PackChoco, PackManualDownload
Task UnitTest -Depends InitializeTests `
, UnitTest452 `
, UnitTest472 `
, UnitTestcore22 `
, UnitTestcore31 `
Expand Down Expand Up @@ -159,7 +158,7 @@ Task PackManualDownload {

Task InitializeTests {
Copy-Item -Path (Join-Path $sourceDir "SqlDatabase.Test\IntegrationTests") -Destination $binDir -Force -Recurse
Copy-Item -Path (Join-Path $binDir "Tests\net452\2.1_2.2.*") -Destination (Join-Path $binDir "IntegrationTests\Upgrade") -Force -Recurse
Copy-Item -Path (Join-Path $binDir "Tests\net472\2.1_2.2.*") -Destination (Join-Path $binDir "IntegrationTests\Upgrade") -Force -Recurse

# fix unix line endings
$test = $moduleIntegrationTests + ":/test"
Expand All @@ -171,10 +170,6 @@ Task InitializeTests {
}
}

Task UnitTest452 {
Test-Unit "net452"
}

Task UnitTest472 {
Test-Unit "net472"
}
Expand Down Expand Up @@ -240,7 +235,7 @@ Task TestPowerShellCore710 {
}

Task TestPowerShellCore720 {
Test-PowerShellCore "mcr.microsoft.com/powershell:7.2.0-preview.1-ubuntu-20.04"
Test-PowerShellCore "mcr.microsoft.com/powershell:7.2.0-preview.2-ubuntu-20.04"
}

Task TestPublishModule {
Expand Down

0 comments on commit 8678bb9

Please sign in to comment.