DEV Community

Cover image for Github actions are awesome!
Doron Chapnitsky
Doron Chapnitsky

Posted on

Github actions are awesome!

Today, Saturday, I had a lot of free time to explore github a little more. I was searching for a python repository that has tests to run, but without the CI to do it automatically.

I found this cool python driver repository which uses the computer motherboard serial ports (HDMI and such). It didn't had any CI workflow so I decided to make one for it!

I saw that it requires python version of 3.9 or higher and that's it! No pytest or poetry needed, simple as that.

I thought that it will be a great idea to make sure the tests will run once a week, at Sunday midnight. By that way, they can check the CI results once they wake at Monday. Since it needs python version of 3.9 or higher, I gathered the versions of 3.9, 3.10 and 3.11. It is important to check that it will also work on different type of operating systems so I chose linux ubuntu, macOS and Windows. Ofcourse it will run their latest versions, so nothing will surprise on new releases.

Once I finished writing the YML script, I sent a PR to the repository, which I forked and tested it. I really hope he likes and approves it!
Github has a lot of cool features that makes our lives easier.
Can't wait to learn more, thank you @szabgab for this useful information!

Top comments (0)