Skip to content

CI workflows should not fail when new Swift versions are introduced upstream #161

@euanh

Description

@euanh

This project uses common GitHub workflows from swiftlang/github-workflows and apple/swift-nio. When these workflows move to new versions of Swift, builds in this project fail until new variables have been defined for the unit tests, and the static SDK has been updated for the integration and end-to-end tests.

The unit tests need to be updated because some tests need access to a container registry instance which is not created by the unit test job, and a version-specific flag must be updated to disable them. If the unit test job cannot create the registry, these tests should be removed from the test suite and added to a separate integration test suite.

The integration and end-to-end tests fail because they install a hard-coded version of the static SDK but use a floating version of the Swift compiler inherited from the workflows in swift-nio. They should either install an appropriate Static SDK automatically, or be pinned to use a matching version of the Swift compiler until updated by hand.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions