Skip to content

Add option to run Snippets as part of testing #232

@nikolay-pv

Description

@nikolay-pv

Today it is possible to do swift run <SnippetName> if they are present in the Swift package. It would be great to have the ability to verify that the Snippets work cross-platform, and the best way I see is to allow doing this in GitHub pipelines.

Thinking about it, I believe it would make sense to have a configuration option which Snippets to run. I don't think there is a way now to run all snippets in one swift call anyway.

Background info: the pitch about snippets is here, and should be implemented in 5.7, so all supported versions in this workflow should be able to run them.

Will there be interest in such a feature?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions