-
Notifications
You must be signed in to change notification settings - Fork 179
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
GitHub workflow update (test multiple Bitcoin Core versions) #1218
GitHub workflow update (test multiple Bitcoin Core versions) #1218
Conversation
e4a4d23
to
77ff139
Compare
Another thing we don't test is aarch64 (arm64). That would also double number of checks, but no point even trying that right now as ARM tests are currently broken. |
Actually not, as they run in parallel. Question is - what limits do we have here? I have no idea. |
b976e5d
to
9ac7610
Compare
9ac7610
to
7a5b593
Compare
Yeah I'm really uncertain about what's going on here. Builds in parallel, sure, but still .. compute cost? Also, is caching somehow applied? I somehow got that impression a while back, because I saw some CI test runs finish really quickly, whereas on my machine (which is fairly high end), it was taking 14 minutes or so. I guess caching could work if: there are no edits to Certainly if we started thinking about all the different configurations in which you could run this application, there would be an exponential blowup in the number of test runs. We should probably using mocking more aggressively than we do in our tests ... or should we? - that would just stop us observing how our code fails to run with Bitcoin Core version XX - the RPC interface to Core is a moving target. I guess that's just part of the whole integration/e2e testing vs unit testing thing. We need both. |
996952a
to
2e390ff
Compare
Updated actions/cache from v2 to v3. |
2e390ff
to
d0b1824
Compare
Updated Bitcoin Core from 22.0 to 23.0. We could also add macos-latest in addition to ubuntu-latest, with some small changes. I recently did that for my bitcoin-scripts project. See kristapsk/bitcoin-scripts@2eedf0a. |
d0b1824
to
dcbec3c
Compare
Rebased on current master, to include update to pytest 6.2.5. |
b59fdcd Remove Python 3.6 (EOL), add 3.10 (Kristaps Kaupe) Pull request description: Subset of #1218. Python 3.6 is not only EOL for a long time, also no more available on ubuntu-latest for GitHub workflows, see https://github.com/JoinMarket-Org/joinmarket-clientserver/actions/runs/3705429480/jobs/6279325863. So this is kinda urgent, our CI is broken otherwise. Top commit has no ACKs. Tree-SHA512: 9438202d142666736548872a6850d8c72edcfca09d30ed34ecc7290dfe26e1f3af15860cdafa60cd321321666ee9d44a7a3be54931c808f076e1fe89cf2ccb31
dcbec3c
to
c84019f
Compare
Rebased and changed newest tested Core version to 24.0.1. |
c84019f
to
0185828
Compare
Rebased |
0185828
to
68844a8
Compare
* Add support for testing against multiple Bitcoin Core versions, add 0.18.0 (oldest officially support for test suite) and 25.0 (latest stable release). Previously we tested against hardcoded 0.19.1. IMO testing against oldest supported and latest makes sense, if tests pass on both, they should pass on releases inbetween too, unless there is some behaviour affecting us changed twice. * Update actions/cache from v2 to v3. Also changed Core downloads from bitcoin.org to bitcoincore.org.
68844a8
to
c921206
Compare
Rebased and updated bitcoind from 24.0.1 to 25.0. |
@kristapsk I guess you are waiting for an ACK on this, only? I would leave this to your discretion, if you think it is a net positive for the CI, then please go ahead. I see nothing wrong in the script,so: ACK c921206 |
Yes, was waiting for a Concept ACK, don't see downsides here. |
Remove Python 3.6 (EOL), add Python 3.10.Done in CI: Remove Python 3.6 (EOL), add 3.10 #140922.025.0 (latest stable release). Previously we tested against hardcoded 0.19.1. IMO testing against oldest supported and latest makes sense, if tests pass on both, they should pass on releases inbetween too, unless there is some behaviour affecting us changed twice.Also changed Core downloads from bitcoin.org to bitcoincore.org.
For now, opening PR as a test and for discussion.
Will increase running time 2x.