DEV Community

aldrin312
aldrin312

Posted on

Implementing CI Workflow

For this lab I needed to set a CI workflow on my project. This can be done directly in GitHub whenever a commit or pull request is done. I have mine set up where it would run the unit tests I made and check whether they pass or not. Basically on the YAML it set up to run the CI, the build and the tests.

Comparing what I did on my project and on my partners, we have to partner up for this lab and add a test for the CI workflow, its really different. For instance, their project uses Python while mine uses JavaScript. So it uses different frameworks for creating the tests. Another is that it uses a different environment. I'm assuming that they uses a Mac environment for this, so the testing framework that they used, MakeFile, is already installed. But on windows it is not. I had to install on windows and configure it to be able to run make commands.

What I Think of CI Workflow.

Generally, I think CI is useful, especially on an open source project. It ensures consistency on all the contributions on it and make sure that all the functions still functions the same on each iteration. I learned so much from this and I think I should always try to implement CI on my projects. Considering that setting the CI workflow is not that hard that I thought.

Heroku

This site is built on Heroku

Join the ranks of developers at Salesforce, Airbase, DEV, and more who deploy their mission critical applications on Heroku. Sign up today and launch your first app!

Get Started

Top comments (0)

Billboard image

Create up to 10 Postgres Databases on Neon's free plan.

If you're starting a new project, Neon has got your databases covered. No credit cards. No trials. No getting in your way.

Try Neon for Free →

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay