feat(ci): Implement integration testing #128
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I would write a shell script that would sync with IOG testnet and mainnet nodes, I would like to "randomly" connect to the respective networks and I can get all the info I need using few lines of python or a bash script if you don't want to introduce that dependency.
I have not thought about testing the UNIX (N2C), and I think it would take too long to sync, however maybe a separate branch to hold the database of
cardano-node
can be used, so that thecardano-node
running in our GitHub runners would not have to always sync from genesis, but could start at the last termination point, or we could even implement a cron-like workglow to sync it once a week or so; but we would keep that data dump in a separate branch, or even better, I can just put it on an external webserver and download over HTTPS, decompress and start thecardano-node
, what do you think?While I can implement it without #93, if I want it to be graceful, considering GH Runners have a maximal runtime, #97 is a hard requirement to implement this.