cartesi / rollups-node

Reference implementation of the Cartesi Rollups Node
Apache License 2.0
23 stars 64 forks source link

Make End to End tests run on CI #360

Open fmoura opened 7 months ago

fmoura commented 7 months ago

📚 Context

End to End tests needs to be run on CI to ensure Node

✔️ Solution

As end to end tests needs to run dependencies and have Cartesi Machine and Server Manager installed, the suggested solution is to use custom Docker Images to run the end to end Job on Github CI

📈 Subtasks

fmoura commented 5 months ago

Rust tests do not run well when executing inside a custom Image, only when done directly on Github Actions host. Something related on how Rust Tests uses Docker images for some external dependency ( Actually Redis ) used on tests.

Golang code uses testcontainers library to run external dependencies and seems to handle fine when executed both directly at the Github Actions Host and a Container.