Skip to content
Permalink
Browse files

Add Action to test imports on Linux and Mac (#5991)

* test a test

* maybe this

* sup

* fully qualify

* remove upload

* wonder if this works

* that didnt work

* run a command

* that didnt work

* fix words
  • Loading branch information...
potatoqualitee committed Aug 23, 2019
1 parent efde9ee commit 1b58e85313709510577a9695c8ee6dbe5e113bd5
Showing with 18 additions and 0 deletions.
  1. +18 −0 .github/workflows/ci.yml
@@ -0,0 +1,18 @@
name: CI

on: [push]

jobs:
build:
name: Module imports on all platforms
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macOS-latest]

steps:
- uses: actions/checkout@v1
- name: Perform the import
shell: pwsh
run: Import-Module ./dbatools.psd1 -ErrorAction Stop; (Get-DbaManagementObject).LoadTemplate -ne $null

0 comments on commit 1b58e85

Please sign in to comment.
You can’t perform that action at this time.