mirror of
https://github.com/actions/versions-package-tools.git
synced 2025-12-10 11:41:23 +00:00
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@v2
|
|
|
|
- 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 |