mirror of
https://github.com/dfinke/ImportExcel.git
synced 2025-12-06 00:23:20 +00:00
add back pscore
This commit is contained in:
@@ -21,9 +21,10 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
|
# BEGIN - ACE support for Invoke-ExcelQuery testing
|
||||||
- task: Cache@2
|
- task: Cache@2
|
||||||
inputs:
|
inputs:
|
||||||
key: v2 | ace
|
key: v2 | "$(Agent.OS)" | ace
|
||||||
path: ace
|
path: ace
|
||||||
cacheHitVar: CACHE_RESTORED
|
cacheHitVar: CACHE_RESTORED
|
||||||
displayName: Cache ACE
|
displayName: Cache ACE
|
||||||
@@ -36,6 +37,7 @@ jobs:
|
|||||||
|
|
||||||
- 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 for Invoke-ExcelQuery testing'
|
displayName: 'Install ACE for Invoke-ExcelQuery testing'
|
||||||
|
# END - ACE support for Invoke-ExcelQuery testing
|
||||||
|
|
||||||
- powershell: 'Install-Module -Name Pester -Force -SkipPublisherCheck'
|
- powershell: 'Install-Module -Name Pester -Force -SkipPublisherCheck'
|
||||||
displayName: 'Update Pester'
|
displayName: 'Update Pester'
|
||||||
@@ -61,21 +63,39 @@ jobs:
|
|||||||
targetPath: '$(Build.SourcesDirectory)'
|
targetPath: '$(Build.SourcesDirectory)'
|
||||||
artifact: 'Source'
|
artifact: 'Source'
|
||||||
|
|
||||||
# - job: WindowsPSCore
|
- job: WindowsPSCore
|
||||||
# pool:
|
pool:
|
||||||
# vmImage: 'windows-latest'
|
vmImage: 'windows-latest'
|
||||||
|
|
||||||
# steps:
|
# BEGIN - ACE support for Invoke-ExcelQuery testing
|
||||||
# - pwsh: 'Install-Module -Name Pester -Force'
|
- task: Cache@2
|
||||||
# displayName: 'Update Pester'
|
inputs:
|
||||||
# - pwsh: './CI/CI.ps1 -Test'
|
key: v2 | "$(Agent.OS)" | ace
|
||||||
# displayName: 'Install and Test'
|
path: ace
|
||||||
|
cacheHitVar: CACHE_RESTORED
|
||||||
|
displayName: Cache ACE
|
||||||
|
|
||||||
# - task: PublishTestResults@2
|
- bash: |
|
||||||
# inputs:
|
mkdir ./ace
|
||||||
# testResultsFormat: 'NUnit'
|
curl -o ./ace/ace.exe https://download.microsoft.com/download/3/5/C/35C84C36-661A-44E6-9324-8786B8DBE231/accessdatabaseengine_X64.exe
|
||||||
# testResultsFiles: '**/TestResults*.xml'
|
displayName: 'Download ACE'
|
||||||
# failTaskOnFailedTests: true
|
condition: ne(variables.CACHE_RESTORED, 'true')
|
||||||
|
|
||||||
|
- powershell: Start-Process ./ace/ace.exe -Wait -ArgumentList "/quiet /passive /norestart"
|
||||||
|
displayName: 'Install ACE for Invoke-ExcelQuery testing'
|
||||||
|
# END - ACE support for Invoke-ExcelQuery testing
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- pwsh: 'Install-Module -Name Pester -Force'
|
||||||
|
displayName: 'Update Pester'
|
||||||
|
- pwsh: './CI/CI.ps1 -Test'
|
||||||
|
displayName: 'Install and Test'
|
||||||
|
|
||||||
|
- task: PublishTestResults@2
|
||||||
|
inputs:
|
||||||
|
testResultsFormat: 'NUnit'
|
||||||
|
testResultsFiles: '**/TestResults*.xml'
|
||||||
|
failTaskOnFailedTests: true
|
||||||
|
|
||||||
# - job: Ubuntu
|
# - job: Ubuntu
|
||||||
# pool:
|
# pool:
|
||||||
|
|||||||
Reference in New Issue
Block a user