-
Notifications
You must be signed in to change notification settings - Fork 19
Use Rust server in CI and add LDK Node integration tests #62
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
Conversation
|
👋 Thanks for assigning @tankyleo as a reviewer! |
.. especially given that there is a new non-forwards-compatible version.
d9c0e90 to
9b2ef38
Compare
|
Integration test breakage is currently on the LDK Node side, will be fixed by lightningdevkit/ldk-node#670 |
9b2ef38 to
8ebd049
Compare
|
Should be resolved, kicked CI. |
tankyleo
left a comment
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.
Mostly LGTM, some minor comments / questions.
Reproduced the Cargo.lock update on my machine.
|
And thank you for doing this ! |
8ebd049 to
cdab1d1
Compare
|
Addressed pending feedback. Force-pushed with the following changes: > git diff-tree -U2 8ebd049 ba2e6c5
diff --git a/.github/workflows/build-and-deploy-rust.yml b/.github/workflows/build-and-deploy-rust.yml
index 7a2185b..52dc188 100644
--- a/.github/workflows/build-and-deploy-rust.yml
+++ b/.github/workflows/build-and-deploy-rust.yml
@@ -38,5 +38,4 @@ jobs:
- name: Hit endpoint to verify service is up
run: |
- # Wait for tomcat-startup
sleep 5 |
cdab1d1 to
ba2e6c5
Compare
While we already have VSS integration tests on the LDK Node side, we here also run them here to ensure any *server* changes do not result in test failures.
ba2e6c5 to
e415f32
Compare
|
Now force-pushed with the following changes: diff --git a/.github/workflows/build-and-deploy-rust.yml b/.github/workflows/build-and-deploy-rust.yml
index 52dc188..af92d17 100644
--- a/.github/workflows/build-and-deploy-rust.yml
+++ b/.github/workflows/build-and-deploy-rust.yml
@@ -13,5 +13,5 @@ jobs:
services:
postgres:
- image: postgres:15
+ image: postgres:latest
ports:
- 5432:5432 |
While we now officially deprecated the Java version, we never switched our CI to use the Rust version.
Moreover, we add LDK Node integration tests to CI. This ensures any changes on the server side don't cause any integration test failures.