Skip to content

Commit

Permalink
Add CI workflow to build and run tests
Browse files Browse the repository at this point in the history
  • Loading branch information
VladyslavPalamarchuk committed Oct 31, 2024
1 parent 6cbc370 commit 8e57be1
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/java-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Java CI

on:
push:
branches: [ develop, main ]
pull_request:
branches: [ develop, main ]

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Set up JDK 21
uses: actions/setup-java@v3
with:
java-version: '21'
distribution: 'temurin'

- name: Build with Maven
run: mvn clean install

- name: Run Tests
run: mvn test

0 comments on commit 8e57be1

Please sign in to comment.