bcgov / aries-vcr

Hyperledger Aries Verifiable Credential Registry (VCR) is a set of application level software components designed to accelerate the adoption of trustworthy entity to entity communications.
Apache License 2.0
78 stars 70 forks source link

Set up testing automation with github #13

Closed nrempel closed 5 years ago

nrempel commented 5 years ago

lint run tests code coverage run automatic code formatter

nrempel commented 5 years ago

@WadeBarnes

CircleCI can probably be used to run tests and lint check: https://github.com/marketplace/circleci for running tests

Codecoverage - we can use https://github.com/marketplace/codecov

https://hub.codebeat.co/docs/github-pull-requests might be helpful as well

https://github.com/Mariatta/black_out could be used (maybe?) to automatically format the python code when a pull request is opened

I think the first two are required and the last two are nice-to-have's. (codebeat should be one click to enable)

I'm happy to work on the details if you do the admin requirements

nrempel commented 5 years ago

Read the docs might make sense in here as well. I'm not familiar with the current docs build process.

nrempel commented 5 years ago

Hey @WadeBarnes just wondering if you had a chance to take a look at this?

It would be beneficial to have this kind of thing if we think we might see external contributors soon.

If you're able to add the github integrations, then I'm happy to configure the service if you can give me access.

WadeBarnes commented 5 years ago

@nremple, I should be able to start looking at this tomorrow.

nrempel commented 5 years ago

Great thanks @WadeBarnes ,

I think enabling these two github integrations should be a good start:

https://github.com/marketplace/circleci/plan/MDIyOk1hcmtldHBsYWNlTGlzdGluZ1BsYW45MA==#pricing-and-setup

https://github.com/marketplace/codecov/plan/MDIyOk1hcmtldHBsYWNlTGlzdGluZ1BsYW4xNg==#pricing-and-setup

WadeBarnes commented 5 years ago

CircleCI; https://circleci.com/gh/bcgov/indy-catalyst

Codecov; https://codecov.io/gh/bcgov/indy-catalyst