Skip to content

Refactor of ImportExcel project #157

Refactor of ImportExcel project

Refactor of ImportExcel project #157

Workflow file for this run

on:
workflow_dispatch:
push:
branches:
- master
- Set-up-GHA-CI/CD
pull_request:
jobs:
build:
name: Build and Test
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [windows-latest, ubuntu-latest, macos-latest]
steps:
- uses: actions/checkout@v4
- name: Build
id: build
shell: pwsh
run: |
$result = ./build.ps1
"ManifestPath=$($result.Output.ManifestPath)" | Add-Content "$($env:GITHUB_OUTPUT)"
- name: Test
shell: pwsh
run: |
if($PSVersionTable.Platform -eq 'Win32NT') {
$null = 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"
}
./RunTests.ps1 -ModulePath ${{ steps.build.outputs.ManifestPath }} -NoIsolation
- name: Publish Test Results
uses: EnricoMi/publish-unit-test-result-action/composite@v2
if: always()
with:
files: |
Output/testResults.xml