johannesjmeyer / rsmf

Right-size my figures
174 stars 9 forks source link

Set up CI #9

Closed johannesjmeyer closed 3 years ago

johannesjmeyer commented 3 years ago

It would be great to set up Travis or CircleCI to automate the blacking of the code and the unit tests.

platipo commented 3 years ago

Hi @johannesjmeyer, have you already configured the repository to work with CircleCI?

johannesjmeyer commented 3 years ago

No, I actually haven't set up CI for any project myself, so help with that would be greatly appreciated! I heard that Circle CI is somewhat state of the art right now and it would be cool to have a CI job for the tests (pytest), one for formatting (black) and one for code quality (pylint). Coverage and docs would also be cool. See the checks in this PR in the PennyLane repo for example.

If there's something I have to do as the repo owner just let me know!

platipo commented 3 years ago

I'm quite new myself but very intrested in learning CicrleCI and I seized the Orbtoberfest opportunity to improve my knowledge.

I think the first steps are:

  1. Go to the CircleCi page
  2. Sign up with your Github account
  3. Click "Add projects" menu and then click "Set up Project" on the rsmf project
  4. Follow the steps, meanwhile I'll create the PR