A working minimal example on how to use GitHub 操作 for CI in a Java project.
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 操作
- 复刻 this repository.
- Fix the
README.mdbadges (replacing all occurrences ofjoaomlnetowith your GitHub username) and push the changes. - Verify if workflow executes and test pass, going to the 操作 tab.
Mistakes? Questions? Suggestions? Open an Issue!