Skip to content

Github workflow action #2

Github workflow action

Github workflow action #2

Workflow file for this run

name: Run Tests
# Controls when the workflow will run
on:
push:
branches:
- main
pull_request:
branches:
- main
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install ModuleTools module form PSGallery
run: |
Install-PSResource -Repository PSGallery -Name ModuleTools -TrustRepository
shell: pwsh
- name: Install ModuleTools module form PSGallery
run: |
Invoke-MTBuild -Verbose
Invoke-MTTest
shell: pwsh