-
Notifications
You must be signed in to change notification settings - Fork 213
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
Add continuous integration to cardano-coin-selection
library.
#1379
Comments
cardano-coin-selection
repository.cardano-coin-selection
library.
would be good to have it in such a form (eg., using repo name variables propagated throughout the code ) that it is very quick to reuse it in other repositories we are going to spawn |
@paweljakubas wrote:
Good point! The CI code is fortunately very simple, for the moment. It doesn't even mention the library name. See: https://github.com/input-output-hk/cardano-coin-selection/blob/master/.travis.yml |
Hi @piotr-iohk! I've just run a few tests on the CI system, just to check that it does fail as expected. According to my tests, it correctly rejects the following kinds of failure:
Would you be okay with me closing this issue? |
@jonathanknowles - OK for the CI :) One question though:
Is there a code coverage set up? can it the seen somewhere? (a badge for CC would be handy too) |
There's a separate issue for that here: https://github.com/input-output-hk/cardano-wallet/issues/1390 |
Ok, thx. The point Add code coverage based on the script used for the bech32 library. is part of the Developement section, hence my question. Closing then! |
Ah, that was a typo! I've corrected it to read:
|
Context
As part of the work to create a separate coin selection and fee balancing library, we'll need a way to automatically test new code that is introduced.
Decision
Add continuous integration support to the
cardano-coin-selection
library.Acceptance Criteria
cardano-coin-selection
library must have CI support.hlint
)stylish-haskell
)Development
QA
Try to cause the CI system to fail, by pushing a branch with the following types of failure:
https://travis-ci.org/input-output-hk/cardano-coin-selection/builds/657112216
https://travis-ci.org/input-output-hk/cardano-coin-selection/builds/657110157
https://travis-ci.org/input-output-hk/cardano-coin-selection/builds/657114386
https://travis-ci.org/input-output-hk/cardano-coin-selection/builds/657115878
The text was updated successfully, but these errors were encountered: