mirror of
https://github.com/dfinke/ImportExcel.git
synced 2025-12-06 00:23:20 +00:00
install ace
This commit is contained in:
22
.github/workflows/ci.yml
vendored
22
.github/workflows/ci.yml
vendored
@@ -12,19 +12,27 @@ jobs:
|
||||
strategy:
|
||||
matrix:
|
||||
os: [windows-latest, ubuntu-latest]
|
||||
# os: [windows-latest, ubuntu-latest]
|
||||
# os: [windows-latest, ubuntu-latest, macos-latest]
|
||||
# os: [ubuntu-latest]
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- name: Run Continuous Integration
|
||||
shell: pwsh
|
||||
run : |
|
||||
if($PSVersionTable.Platform -eq 'Win32NT') {
|
||||
"start process"
|
||||
} elseif ($PSVersionTable.Platform -eq 'Unix') {
|
||||
"curl"
|
||||
}
|
||||
# if($PSVersionTable.Platform -eq 'Win32NT') {
|
||||
# 'Install ACE for Invoke-ExcelQuery testing'
|
||||
# Start-Process ./ace/ace.exe -Wait -ArgumentList "/quiet /passive /norestart"
|
||||
# } elseif ($PSVersionTable.Platform -eq 'Unix') {
|
||||
# mkdir ./ace
|
||||
# curl -o ./ace/ace.exe https://download.microsoft.com/download/3/5/C/35C84C36-661A-44E6-9324-8786B8DBE231/accessdatabaseengine_X64.exe
|
||||
# }
|
||||
|
||||
mkdir ./ace
|
||||
Invoke-Restmethod https://download.microsoft.com/download/3/5/C/35C84C36-661A-44E6-9324-8786B8DBE231/accessdatabaseengine_X64.exe -OutFile ./ace/ace.exe
|
||||
Start-Process ./ace/ace.exe -Wait -ArgumentList "/quiet /passive /norestart"
|
||||
|
||||
# cd ./__tests__
|
||||
# Invoke-Pester -Output Detailed
|
||||
|
||||
|
||||
# jobs:
|
||||
# validate:
|
||||
|
||||
Reference in New Issue
Block a user