pester for ci

pull/2/head
Dmitry Shibanov 5 years ago
parent 452f6560ff
commit e446c64618

@ -4,9 +4,7 @@ jobs:
CommonTests:
strategy:
fail-fast: false
matrix:
os: [ubuntu-16.04, ubuntu-latest, windows-2016, windows-latest, macos-latest]
runs-on: ${{ matrix.os }}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@master
@ -16,14 +14,4 @@ jobs:
run: |
Install-Module Pester -Force -Scope CurrentUser
Import-Module Pester
$pesterParams = @(
@{
Path="./packages-generation/manifest-utils.Tests.ps1";
},
)
Invoke-Pester -Script $pesterParams -OutputFile "test_results.xml" -OutputFormat NUnitXml
- name: Upload math result for job 1
uses: actions/upload-artifact@v1
with:
name: test_results
path: test_results.xml
Invoke-Pester -Ci -OutputFile "test_results.xml" -OutputFormat NUnitXml
Loading…
Cancel
Save