diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index acecbfddc2..8cf9bd249a 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -81,6 +81,6 @@ jobs: run: | cd out/build/${{ matrix.preset }} Import-Module Pester -Force -MinimumVersion '5.6.1' - ${{ github.workspace }}/azure-pipelines/end-to-end-tests.ps1 -RunArtifactsTests + ${{ github.workspace }}/azure-pipelines/end-to-end-tests.ps1 -RunArtifactsTests -Filter:'0-expect-' env: VCPKG_ROOT: ${{ github.workspace }}/vcpkg-root diff --git a/azure-pipelines/end-to-end-tests-dir/0-expect-1-pass.ps1 b/azure-pipelines/end-to-end-tests-dir/0-expect-1-pass.ps1 new file mode 100644 index 0000000000..a2da368856 --- /dev/null +++ b/azure-pipelines/end-to-end-tests-dir/0-expect-1-pass.ps1 @@ -0,0 +1,2 @@ + +Write-Host "It's test 1 pass." diff --git a/azure-pipelines/end-to-end-tests-dir/0-expect-2-pass.Test.ps1 b/azure-pipelines/end-to-end-tests-dir/0-expect-2-pass.Test.ps1 new file mode 100644 index 0000000000..19a800d8ff --- /dev/null +++ b/azure-pipelines/end-to-end-tests-dir/0-expect-2-pass.Test.ps1 @@ -0,0 +1,2 @@ + +Write-Host "It's test 2 pass." diff --git a/azure-pipelines/end-to-end-tests-dir/0-expect-3-fail.ps1 b/azure-pipelines/end-to-end-tests-dir/0-expect-3-fail.ps1 new file mode 100644 index 0000000000..fbb603a5c0 --- /dev/null +++ b/azure-pipelines/end-to-end-tests-dir/0-expect-3-fail.ps1 @@ -0,0 +1,10 @@ + +Write-Host "It's test 3 fail." + +BeforeAll { + Import-Module $PSScriptRoot/posh-vcpkg +} + +Describe 'Module posh-vcpkg tests' { + It 'Expect fail' {} +} diff --git a/azure-pipelines/end-to-end-tests-dir/0-expect-4-fail.Test.ps1 b/azure-pipelines/end-to-end-tests-dir/0-expect-4-fail.Test.ps1 new file mode 100644 index 0000000000..59f1eaeb8b --- /dev/null +++ b/azure-pipelines/end-to-end-tests-dir/0-expect-4-fail.Test.ps1 @@ -0,0 +1,10 @@ + +Write-Host "It's test 4 fail." + +BeforeAll { + Import-Module $PSScriptRoot/posh-vcpkg +} + +Describe 'Module posh-vcpkg tests' { + It 'Expect fail' {} +} diff --git a/azure-pipelines/end-to-end-tests-dir/0-expect-5-pass.ps1 b/azure-pipelines/end-to-end-tests-dir/0-expect-5-pass.ps1 new file mode 100644 index 0000000000..77f2859270 --- /dev/null +++ b/azure-pipelines/end-to-end-tests-dir/0-expect-5-pass.ps1 @@ -0,0 +1,2 @@ + +Write-Host "It's test 5 pass." diff --git a/azure-pipelines/end-to-end-tests-dir/0-expect-6-pass.Test.ps1 b/azure-pipelines/end-to-end-tests-dir/0-expect-6-pass.Test.ps1 new file mode 100644 index 0000000000..a2da368856 --- /dev/null +++ b/azure-pipelines/end-to-end-tests-dir/0-expect-6-pass.Test.ps1 @@ -0,0 +1,2 @@ + +Write-Host "It's test 1 pass."