DEV Community

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

Posted on

1

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!

AWS Q Developer image

Your AI Code Assistant

Generate and update README files, create data-flow diagrams, and keep your project fully documented. Built to handle large projects, Amazon Q Developer works alongside you from idea to production code.

Get started free in your IDE

Top comments (0)

Postmark Image

Speedy emails, satisfied customers

Are delayed transactional emails costing you user satisfaction? Postmark delivers your emails almost instantly, keeping your customers happy and connected.

Sign up

๐Ÿ‘‹ Kindness is contagious

Please leave a โค๏ธ or a friendly comment on this post if you found it helpful!

Okay