Skip to content

start job outside of the beforeall (do Find-DbaAgent) #984

start job outside of the beforeall (do Find-DbaAgent)

start job outside of the beforeall (do Find-DbaAgent) #984

Workflow file for this run

name: Cross Platform Import
on: [push]
jobs:
build:
env:
SMODefaultModuleName: dbatools
name: Module imports on all platforms
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macOS-latest, macOS-14]
steps:
- uses: actions/checkout@v3
- name: Install and cache PowerShell modules
uses: potatoqualitee/psmodulecache@v5.2
with:
modules-to-cache: dbatools.library:2024.4.12
- name: Perform the import
shell: pwsh
run: |
Import-Module ./dbatools.psd1 -ErrorAction Stop
(Get-DbaManagementObject).LoadTemplate -ne $null