@@ -356,10 +356,10 @@ stages:
356356 displayName : ' Commands'
357357 strategy :
358358 matrix :
359- SQL2022_WIN2019 :
359+ PowerBI_WIN2019 :
360360 JOB_VMIMAGE : ' windows-2019'
361361 TEST_CONFIGURATION : ' Integration_PowerBI'
362- SQL2022_WIN2022 :
362+ PowerBI_WIN2022 :
363363 JOB_VMIMAGE : ' windows-2022'
364364 TEST_CONFIGURATION : ' Integration_PowerBI'
365365 pool :
@@ -694,6 +694,70 @@ stages:
694694 testResultsFiles : ' $(buildFolderName)/$(testResultFolderName)/NUnit*.xml'
695695 testRunTitle : ' Integration RS ($(TEST_CONFIGURATION) / $(JOB_VMIMAGE))'
696696
697+ - stage : Integration_Test_Resources_PowerBIReportServer
698+ displayName : ' Integration Test Resources - Power BI Report Server'
699+ dependsOn : Quality_Test_and_Unit_Test
700+ jobs :
701+ - job : Test_Integration
702+ displayName : ' Integration'
703+ strategy :
704+ matrix :
705+ PowerBI_WIN2019 :
706+ JOB_VMIMAGE : ' windows-2019'
707+ TEST_CONFIGURATION : ' Integration_PowerBI'
708+ PowerBI_WIN2022 :
709+ JOB_VMIMAGE : ' windows-2022'
710+ TEST_CONFIGURATION : ' Integration_PowerBI'
711+ variables :
712+ SKIP_DATABASE_ENGINE_DEFAULT_INSTANCE : true
713+ SKIP_ANALYSIS_MULTI_INSTANCE : true
714+ SKIP_ANALYSIS_TABULAR_INSTANCE : true
715+ SMODefaultModuleName : ' SqlServer'
716+ pool :
717+ vmImage : $(JOB_VMIMAGE)
718+ timeoutInMinutes : 0
719+ steps :
720+ - task : DownloadPipelineArtifact@2
721+ displayName : ' Download Build Artifact'
722+ inputs :
723+ buildType : ' current'
724+ artifactName : $(buildArtifactName)
725+ targetPath : ' $(Build.SourcesDirectory)/$(buildFolderName)'
726+ - task : PowerShell@2
727+ name : configureWinRM
728+ displayName : ' Configure WinRM'
729+ inputs :
730+ targetType : ' inline'
731+ script : ' winrm quickconfig -quiet'
732+ pwsh : false
733+ - powershell : |
734+ Import-Module -Name ./tests/TestHelpers/CommonTestHelper.psm1
735+ Remove-PowerShellModuleFromCI -Name @('SqlServer', 'SQLPS')
736+ Remove-Module -Name CommonTestHelper
737+ name: cleanCIWorker
738+ displayName: 'Clean CI worker'
739+ - powershell : |
740+ ./build.ps1 -Tasks test -CodeCoverageThreshold 0 -PesterTag $(TEST_CONFIGURATION) -PesterPath @(
741+ # Run the integration tests in a specific group order.
742+ # Group 1
743+ 'tests/Integration/Resources/DSC_SqlSetup.Integration.Tests.ps1'
744+ # Group 2
745+ 'tests/Integration/Resources/DSC_SqlRSSetup.Integration.Tests.ps1'
746+ # Group 3
747+ 'tests/Integration/Resources/DSC_SqlRS.Integration.Tests.ps1'
748+ )
749+ name: test
750+ displayName: 'Run Reporting Services Integration Test'
751+ env:
752+ TEST_CONFIGURATION: $(TEST_CONFIGURATION)
753+ - task : PublishTestResults@2
754+ displayName : ' Publish Test Results'
755+ condition : succeededOrFailed()
756+ inputs :
757+ testResultsFormat : ' NUnit'
758+ testResultsFiles : ' $(buildFolderName)/$(testResultFolderName)/NUnit*.xml'
759+ testRunTitle : ' Integration RS ($(TEST_CONFIGURATION) / $(JOB_VMIMAGE))'
760+
697761 - stage : Integration_Test_Resources_ReportingServices_dbatools
698762 displayName : ' Integration Test Resources - Reporting Services (dbatools)'
699763 dependsOn : Integration_Test_Resources_SqlServer
0 commit comments