Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/joaomlneto/github-ci-tutorial-java
An example on how to use GitHub Actions in a Java project
https://github.com/joaomlneto/github-ci-tutorial-java
ci cicd continuous-integration github github-actions github-actions-ci github-actions-java java junit junit5 quickstart tutorial tutorial-code
Last synced: about 2 months ago
JSON representation
An example on how to use GitHub Actions in a Java project
- Host: GitHub
- URL: https://github.com/joaomlneto/github-ci-tutorial-java
- Owner: joaomlneto
- License: mit
- Created: 2022-03-03T13:53:11.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-01-10T00:58:48.000Z (12 months ago)
- Last Synced: 2024-05-02T05:09:15.530Z (8 months ago)
- Topics: ci, cicd, continuous-integration, github, github-actions, github-actions-ci, github-actions-java, java, junit, junit5, quickstart, tutorial, tutorial-code
- Language: Java
- Homepage: https://github.com/joaomlneto/github-ci-tutorial-java
- Size: 22.5 KB
- Stars: 0
- Watchers: 2
- Forks: 2
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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](https://github.com/joaomlneto/github-ci-tutorial-java/actions/workflows/run-maven-tests-on-push.yaml/badge.svg)](https://github.com/joaomlneto/github-ci-tutorial-java/actions/workflows/run-maven-tests-on-push.yaml)
This repository has a [workflow](.github/workflows/run-maven-tests-on-push.yaml) 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](https://github.com/joaomlneto/travis-ci-tutorial-java)
### How can I play with it myself?
1. [Fork this repository](https://github.com/joaomlneto/github-ci-tutorial-java/fork).
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](https://github.com/joaomlneto/github-ci-tutorial-java/actions) tab.### Contributing
Mistakes? Questions? Suggestions?
[Open an Issue](https://github.com/joaomlneto/github-ci-tutorial-java/issues/new)!