From ebde9269aa9aa5c0dc5f422be6df79f715d09576 Mon Sep 17 00:00:00 2001 From: Doug Finke Date: Sun, 12 Jun 2022 14:44:17 -0400 Subject: [PATCH] just windows --- .github/workflows/ci.yml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 742f2ea..03c7cdf 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -26,13 +26,14 @@ jobs: # 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 + if($PSVersionTable.Platform -eq 'Win32NT') { + 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: