-
Notifications
You must be signed in to change notification settings - Fork 17
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
Update references for crosstests #85
Conversation
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.
Changes look good - just a few small things. Noticed that the CI tests are failing too.
.github/workflows/ci.yml
Outdated
- name: Run crosstests | ||
run: make crosstestsrun | ||
- name: Generate proto files for conformance tests. | ||
run: make generateconformance |
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.
The conformance tests relied on more generated code than the stuff in crosstests dir so I added a Make dependency on generate
for running the crosstests. We can now simplify this to remove this step entirely.
@@ -12,7 +12,7 @@ | |||
// See the License for the specific language governing permissions and | |||
// limitations under the License. | |||
|
|||
package build.buf.connect.crosstest.ssl | |||
package connectrpc.conformance.ssl |
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.
The package should be com.connectrpc.*
.
@@ -25,7 +25,7 @@ sourceSets { | |||
dependencies { | |||
implementation(libs.kotlin.coroutines.core) | |||
implementation(libs.protobuf.kotlin) | |||
implementation(project(":crosstests:common")) | |||
implementation(project(":conformance:common")) |
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.
This file is losing the .kts
extension as part of the rename (which looks like it might be why the CI workflows are failing).
@@ -12,7 +12,7 @@ | |||
// See the License for the specific language governing permissions and | |||
// limitations under the License. | |||
|
|||
package connectrpc.conformance.ssl | |||
package com.connectrpc.conformance.ssl |
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.
The files should also be moved to the right locations - i.e. conformance/common/src/main/kotlin/connectrpc/conformance/ssl/SSL.kt
-> conformance/common/src/main/kotlin/com/connectrpc/conformance/ssl/SSL.kt
This updates the repo to use
connectrpc/conformance
instead ofbufbuild/connect-crosstest
.Note this is not expected to build / merge until the crosstest repo is officially moved to connectrpc.