mirror of
https://github.com/actions/versions-package-tools.git
synced 2025-12-10 03:13:23 +00:00
* setup boost helpers * add ci for pull requests * pester for ci * resolving issue with pester 5 * remove Output flag * check tests with 4 version * try common tests variant * added requires * move to 5 version * try to add assert module * fix scope * use new regex for python * fix regex in tests * Pester 4.10.1 * EnableExit * fix synopsys * fix creating tar archive Co-authored-by: Dmitry Shibanov <v-dmshib@microsoft.com> Co-authored-by: Maxim Lobanov <v-malob@microsoft.com>
23 lines
532 B
YAML
23 lines
532 B
YAML
name: Run tests
|
|
on: [pull_request]
|
|
jobs:
|
|
CommonTests:
|
|
strategy:
|
|
fail-fast: false
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@master
|
|
|
|
- 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 |