joaomlneto / github-ci-tutorial-java

An example on how to use GitHub Actions in a Java project

Home Page:https://github.com/joaomlneto/github-ci-tutorial-java

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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!