Introduce Continuous Integration (CI) to the starpy Python project

szabgab

Gabor Szabo

Posted on November 21, 2022

Introduce Continuous Integration (CI) to the starpy Python project

One of the first thing I do when start working on a project (either open source or in a corporation) is to make sure the is a Continuous Integration system set up. In this video you will see how I added GitHub Actions to the starpy project.

The points I made

  • Make sure you have the python requirements listed in the requirements.txt
  • Make sure you can run pytest and it will find your tests. (test filenames start with test_* )
  • Having a README.md is also a nice thing with instruction how to set up an environment and how to run the tests.

The content of the .github/workflows/ci.yaml file from the project that configures GitHub Actions can be seen on the original post here.

💖 💪 🙅 🚩
szabgab
Gabor Szabo

Posted on November 21, 2022

Join Our Newsletter. No Spam, Only the good stuff.

Sign up to receive the latest update from our blog.

Related