mirror of
https://github.com/dfinke/ImportExcel.git
synced 2025-12-06 00:23:20 +00:00
Only run tests on Windows PS 5.1
This commit is contained in:
@@ -7,36 +7,36 @@ jobs:
|
||||
.\DoTests.ps1
|
||||
displayName: 'Run Tests on Windows'
|
||||
|
||||
- job: Build_PSCore_Ubuntu1604
|
||||
# - job: Build_PSCore_Ubuntu1604
|
||||
|
||||
pool:
|
||||
vmImage: ubuntu-16.04
|
||||
# pool:
|
||||
# vmImage: ubuntu-16.04
|
||||
|
||||
steps:
|
||||
- script: |
|
||||
curl https://packages.microsoft.com/keys/microsoft.asc | sudo apt-key add -
|
||||
curl https://packages.microsoft.com/config/ubuntu/16.04/prod.list | sudo tee /etc/apt/sources.list.d/microsoft.list
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y powershell
|
||||
displayName: 'Install PowerShell Core'
|
||||
# steps:
|
||||
# - script: |
|
||||
# curl https://packages.microsoft.com/keys/microsoft.asc | sudo apt-key add -
|
||||
# curl https://packages.microsoft.com/config/ubuntu/16.04/prod.list | sudo tee /etc/apt/sources.list.d/microsoft.list
|
||||
# sudo apt-get update
|
||||
# sudo apt-get install -y powershell
|
||||
# displayName: 'Install PowerShell Core'
|
||||
|
||||
- script: |
|
||||
pwsh -c '.\DoTests.ps1'
|
||||
displayName: 'Run Tests on Linux'
|
||||
# - script: |
|
||||
# pwsh -c '.\DoTests.ps1'
|
||||
# displayName: 'Run Tests on Linux'
|
||||
|
||||
- job: Build_PSCore_MacOS1013
|
||||
pool:
|
||||
vmImage: xcode9-macos10.13
|
||||
steps:
|
||||
- script: |
|
||||
brew update
|
||||
brew tap caskroom/cask
|
||||
brew cask install powershell
|
||||
displayName: 'Install PowerShell Core'
|
||||
# - job: Build_PSCore_MacOS1013
|
||||
# pool:
|
||||
# vmImage: xcode9-macos10.13
|
||||
# steps:
|
||||
# - script: |
|
||||
# brew update
|
||||
# brew tap caskroom/cask
|
||||
# brew cask install powershell
|
||||
# displayName: 'Install PowerShell Core'
|
||||
|
||||
- script: |
|
||||
pwsh -c '.\DoTests.ps1'
|
||||
displayName: 'Run Tests on macOS'
|
||||
# - script: |
|
||||
# pwsh -c '.\DoTests.ps1'
|
||||
# displayName: 'Run Tests on macOS'
|
||||
|
||||
trigger:
|
||||
paths:
|
||||
|
||||
Reference in New Issue
Block a user