add back in normal win testing

This commit is contained in:
Roy Ashbrook
2021-11-16 16:11:32 -05:00
parent 88e28a1d6c
commit 08bf877535

View File

@@ -34,38 +34,32 @@ jobs:
displayName: 'Download ACE'
condition: ne(variables.CACHE_RESTORED, 'true')
- powershell: (New-Object system.data.oledb.oledbenumerator).GetElements().SOURCES_NAME
displayName: 'Show data sources before ACE'
- powershell: Start-Process ./ace/ace.exe -Wait -ArgumentList "/quiet /passive /norestart"
displayName: 'Install ACE'
displayName: 'Install ACE for Invoke-ExcelQuery testing'
- powershell: (New-Object system.data.oledb.oledbenumerator).GetElements().SOURCES_NAME
displayName: 'Show data sources after ACE'
- powershell: 'Install-Module -Name Pester -Force -SkipPublisherCheck'
displayName: 'Update Pester'
- powershell: './CI/CI.ps1 -Test'
displayName: 'Install and Test'
# - powershell: 'Install-Module -Name Pester -Force -SkipPublisherCheck'
# displayName: 'Update Pester'
# - powershell: './CI/CI.ps1 -Test'
# displayName: 'Install and Test'
- task: PublishTestResults@2
inputs:
testResultsFormat: 'NUnit'
testResultsFiles: '**/TestResults*.xml'
failTaskOnFailedTests: true
# - task: PublishTestResults@2
# inputs:
# testResultsFormat: 'NUnit'
# testResultsFiles: '**/TestResults*.xml'
# failTaskOnFailedTests: true
# - powershell: './CI/CI.ps1 -Artifact'
# displayName: 'Prepare Artifact'
# - task: PublishPipelineArtifact@1
# inputs:
# targetPath: '$(Build.ArtifactStagingDirectory)'
# artifact: 'Modules'
# - powershell: './CI/CI.ps1 -Analyzer'
# displayName: 'Invoke ScriptAnalyzer'
# - task: PublishPipelineArtifact@1
# inputs:
# targetPath: '$(Build.SourcesDirectory)'
# artifact: 'Source'
- powershell: './CI/CI.ps1 -Artifact'
displayName: 'Prepare Artifact'
- task: PublishPipelineArtifact@1
inputs:
targetPath: '$(Build.ArtifactStagingDirectory)'
artifact: 'Modules'
- powershell: './CI/CI.ps1 -Analyzer'
displayName: 'Invoke ScriptAnalyzer'
- task: PublishPipelineArtifact@1
inputs:
targetPath: '$(Build.SourcesDirectory)'
artifact: 'Source'
# - job: WindowsPSCore
# pool: