diff --git a/.github/workflows/ps-ce-sdk-integration-tests.yaml b/.github/workflows/ps-ce-sdk-integration-tests.yaml new file mode 100644 index 0000000..bdcdd8d --- /dev/null +++ b/.github/workflows/ps-ce-sdk-integration-tests.yaml @@ -0,0 +1,31 @@ +# ************************************************************************** +# Copyright (c) Cloud Native Foundation. +# SPDX-License-Identifier: Apache-2.0 +# ************************************************************************** + +name: Integration Tests + +on: + push: + branches: ["main"] + + pull_request: + branches: ["main"] + +jobs: + integration-tests: + name: Run Integration Tests + strategy: + matrix: + platform: ["ubuntu-latest", "windows-latest"] + + runs-on: ${{ matrix.platform }} + timeout-minutes: 10 + + steps: + - name: Check out code + uses: actions/checkout@v2 + + - name: Run Tests + shell: pwsh + run: ./build.ps1 -TestsType integration -ExitProcess diff --git a/.github/workflows/ps-ce-sdk-unit-tests.yaml b/.github/workflows/ps-ce-sdk-unit-tests.yaml new file mode 100644 index 0000000..94346be --- /dev/null +++ b/.github/workflows/ps-ce-sdk-unit-tests.yaml @@ -0,0 +1,31 @@ +# ************************************************************************** +# Copyright (c) Cloud Native Foundation. +# SPDX-License-Identifier: Apache-2.0 +# ************************************************************************** + +name: Unit Tests + +on: + push: + branches: ["main"] + + pull_request: + branches: ["main"] + +jobs: + unit-tests: + name: Run Unit Tests + strategy: + matrix: + platform: ["ubuntu-latest", "windows-latest"] + + runs-on: ${{ matrix.platform }} + timeout-minutes: 10 + + steps: + - name: Check out code + uses: actions/checkout@v2 + + - name: Run Tests + shell: pwsh + run: ./build.ps1 -TestsType unit -ExitProcess