Skip to content

Linux CI build does not fail when Pester Tag is missing #9193

@ThreeFive-O

Description

@ThreeFive-O

Steps to reproduce

Omit the Tag for a Pester describe block and trigger the Linux CI build process.

Describe "Sample test" {
}

See Draft PR #9192 for example.

Expected behavior

Build process should fail for Windows, macOS and Linux.
ci.psm calls Get-PesterTag from build.psm1 to check if all test blocks have a valid Tag.

Actual behavior

Linux CI build succeeds and tests are executed without any error.
See Draft PR #9192 for reference.

Environment data


Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue-BugIssue has been identified as a bug in the productWG-Maintainers-Buildspecific to affecting the build

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions