Skip to content

joaomlneto/github-ci-tutorial-java

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tutorial: Java CI using GitHub Actions

A working minimal example on how to use GitHub Actions for CI in a Java project.

Run Maven Tests on Push to Main

This repository has a workflow that is triggered whenever code is pushed to the main branch and checks whether the checked-in code passes the tests.

Click here for the example using Travis CI instead of GitHub Actions

How can I play with it myself?

  1. Fork this repository.
  2. Fix the README.md badges (replacing all occurrences of joaomlneto with your GitHub username) and push the changes.
  3. Verify if workflow executes and test pass, going to the Actions tab.

Contributing

Mistakes? Questions? Suggestions? Open an Issue!