An Interest In:
Web News this Week
- April 2, 2024
- April 1, 2024
- March 31, 2024
- March 30, 2024
- March 29, 2024
- March 28, 2024
- March 27, 2024
Using Github Actions to automate my tests
This week I improved my SSG by using Github Actions. I added a script that automatically runs my tests so I can test if my main features still work after adding things to my code. After that, I added tests to Tong's SSG SSGifier so I can help test his Github actions script
What I did to my Repo
First I added a .yml script that runs my script on Github actions every time I run my script.
Then I added a new test to test my script. Afterwards, I broke it and then fixed it to see if it works.
What I did to Tong's Repo
After reading Tongs contributing.MD file I set up my testing framework and started work on a new test. I decided to test to see if his markdown files were working properly.
What I learned
Using Github actions allows for a lot of automation in things like testing and code formatting. It's good to use it because if someone is contributing you can focus on their things rather than the main features.
Original Link: https://dev.to/pdr0zd/using-github-actions-to-automate-my-tests-4p4c
Dev To
An online community for sharing and discovering great ideas, having debates, and making friendsMore About this Source Visit Dev To