Skip to content

Commit

Permalink
feat: create actions workflow to build application and run tests
Browse files Browse the repository at this point in the history
  • Loading branch information
joovitor12 authored May 3, 2024
1 parent 1c95d58 commit 83f07e9
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Person Manager CI Flow

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

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

- name: Build
run: mvn package

- name: Run tests
run: mvn test

0 comments on commit 83f07e9

Please sign in to comment.