-
Notifications
You must be signed in to change notification settings - Fork 79
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat!: Standalone protocol test package #1589
Conversation
…lag from AWSSDKSwiftCLI package generation.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just little stuff
scripts/protogen.sh
Outdated
cd AWSSDKSwiftCLI | ||
swift run AWSSDKSwiftCLI generate-package-manifest --include-protocol-tests --exclude-aws-services --exclude-runtime-tests .. | ||
swift run AWSSDKSwiftCLI generate-package-manifest --exclude-aws-services --exclude-runtime-tests .. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think we need this step for regenerating Package.swift at all anymore. None of the AWS service clients are used in protocol tests
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Deleted as suggested.
@@ -4,7 +4,7 @@ set -e | |||
|
|||
# Regenerate the SDK Package.swift to run only protocol tests and runtime unit tests |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think we need this comment at all anymore
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Deleted as suggested.
Issue #
#1551
Description of changes
In logical order, from top to bottom:
Package.swift
for protocol tests, under codegen/.addProtocolTests()
function from thePackage.Base.swift
.includeProtocolTests
flag andaddProtocolTests()
function call codegen from AWSSDKSwiftCLI package codegen.includeProtocolTests
flag from where they're used in scripts.Package.swift
under codegen/.New/existing dependencies impact assessment, if applicable
Conventional Commits
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.