From e446c646182c986e4aa8850528f6f37217627148 Mon Sep 17 00:00:00 2001 From: Dmitry Shibanov Date: Mon, 1 Jun 2020 00:54:51 +0300 Subject: [PATCH] pester for ci --- .github/workflows/common_tests.yml | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) diff --git a/.github/workflows/common_tests.yml b/.github/workflows/common_tests.yml index b8227bc..7664c77 100644 --- a/.github/workflows/common_tests.yml +++ b/.github/workflows/common_tests.yml @@ -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 \ No newline at end of file + Invoke-Pester -Ci -OutputFile "test_results.xml" -OutputFormat NUnitXml \ No newline at end of file