mirror of
https://github.com/dfinke/ImportExcel.git
synced 2025-12-15 15:53:32 +00:00
add back in normal win testing
This commit is contained in:
@@ -34,38 +34,32 @@ jobs:
|
|||||||
displayName: 'Download ACE'
|
displayName: 'Download ACE'
|
||||||
condition: ne(variables.CACHE_RESTORED, 'true')
|
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"
|
- 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
|
- powershell: 'Install-Module -Name Pester -Force -SkipPublisherCheck'
|
||||||
displayName: 'Show data sources after ACE'
|
displayName: 'Update Pester'
|
||||||
|
- powershell: './CI/CI.ps1 -Test'
|
||||||
|
displayName: 'Install and Test'
|
||||||
|
|
||||||
# - powershell: 'Install-Module -Name Pester -Force -SkipPublisherCheck'
|
- task: PublishTestResults@2
|
||||||
# displayName: 'Update Pester'
|
inputs:
|
||||||
# - powershell: './CI/CI.ps1 -Test'
|
testResultsFormat: 'NUnit'
|
||||||
# displayName: 'Install and Test'
|
testResultsFiles: '**/TestResults*.xml'
|
||||||
|
failTaskOnFailedTests: true
|
||||||
|
|
||||||
# - task: PublishTestResults@2
|
- powershell: './CI/CI.ps1 -Artifact'
|
||||||
# inputs:
|
displayName: 'Prepare Artifact'
|
||||||
# testResultsFormat: 'NUnit'
|
- task: PublishPipelineArtifact@1
|
||||||
# testResultsFiles: '**/TestResults*.xml'
|
inputs:
|
||||||
# failTaskOnFailedTests: true
|
targetPath: '$(Build.ArtifactStagingDirectory)'
|
||||||
|
artifact: 'Modules'
|
||||||
# - powershell: './CI/CI.ps1 -Artifact'
|
- powershell: './CI/CI.ps1 -Analyzer'
|
||||||
# displayName: 'Prepare Artifact'
|
displayName: 'Invoke ScriptAnalyzer'
|
||||||
# - task: PublishPipelineArtifact@1
|
- task: PublishPipelineArtifact@1
|
||||||
# inputs:
|
inputs:
|
||||||
# targetPath: '$(Build.ArtifactStagingDirectory)'
|
targetPath: '$(Build.SourcesDirectory)'
|
||||||
# artifact: 'Modules'
|
artifact: 'Source'
|
||||||
# - powershell: './CI/CI.ps1 -Analyzer'
|
|
||||||
# displayName: 'Invoke ScriptAnalyzer'
|
|
||||||
# - task: PublishPipelineArtifact@1
|
|
||||||
# inputs:
|
|
||||||
# targetPath: '$(Build.SourcesDirectory)'
|
|
||||||
# artifact: 'Source'
|
|
||||||
|
|
||||||
# - job: WindowsPSCore
|
# - job: WindowsPSCore
|
||||||
# pool:
|
# pool:
|
||||||
|
|||||||
Reference in New Issue
Block a user