You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
528 B
YAML
23 lines
528 B
YAML
name: Run tests
|
|
on: [pull_request]
|
|
jobs:
|
|
CommonTests:
|
|
strategy:
|
|
fail-fast: false
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v3
|
|
|
|
- name: Install Pester
|
|
shell: pwsh
|
|
run: |
|
|
Install-Module Pester -Force -Scope CurrentUser -RequiredVersion 4.10.1
|
|
Install-Module Assert -Force -Scope CurrentUser
|
|
|
|
- name: Run tests
|
|
shell: pwsh
|
|
run: |
|
|
Import-Module Pester
|
|
Import-Module Assert
|
|
Invoke-Pester -EnableExit |