GitHub Actions Quickstart: Configure Automatic Tests on a Maven IntelliJ IDEA Java Project

Published: 29 August 2022
on channel: Brandan Jones
3,044
55

Do you want to quickly configure GitHub to run unit tests automatically, with each push? Are you curious how CI/CD works, and what a yml/yaml file is? In this video, I walk through the steps to accomplish that, in a quick start guide. I Create a new Java Maven project in IntelliJ IDEA. Add a POJO and a unit test class. Update the pom.xml to include JUnit and surefire test plugins. Commit and push to GitHub. Add a GitHub action for a Java Maven project. Watch the process run and the tests pass. Next, I intentionally break the test, commit and push again, so that we can see the result of a test failure, directly in our GitHub project. Source code for this project is freely available at https://github.com/discospiff/GitHubA... . Navigate there to find the pom.xml entries that I added to make this project work!


Watch video GitHub Actions Quickstart: Configure Automatic Tests on a Maven IntelliJ IDEA Java Project online without registration, duration hours minute second in high quality. This video was added by user Brandan Jones 29 August 2022, don't forget to share it with your friends and acquaintances, it has been viewed on our site 3,044 once and liked it 55 people.