A simple example of a Maven project built on GitHub Actions with Code Coverage on Coveralls
An example of Chapter Continuous Integration of the book
Test-Driven Development, Build Automation, Continuous Integration (with Java, Eclipse and friends) by Lorenzo Bettini.
See https://github.com/LorenzoBettini/tdd-buildautomation-ci-book-examples for the list of all the examples.