Update Update-NTModuleManifest.ps1 #38
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: RunPesterTests Tatux.Utils | |
on: | |
# Triggers the workflow on push or pull request events but only for the master branch | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
jobs: | |
# This workflow contains a single job called "build" | |
test-pwsh: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Run Pester tests | |
run: | | |
echo ${{ github.workspace }} | |
Set-PSRepository psgallery -InstallationPolicy trusted | |
Install-Module -Name Pester,PSScriptAnalyzer -Confirm:$false -Force | |
Invoke-Pester -Path "${{ github.workspace }}\Modules\Tatux.Utils\Public\Tests" -Passthru | |
Invoke-Pester -Path "${{ github.workspace }}\Modules\Tatux.Utils\Private\Tests" -Passthru | |
shell: pwsh |