Skip to content

Commit 94ed929

Browse files
authored
Create ci.yml
1 parent 0d94d35 commit 94ed929

1 file changed

Lines changed: 19 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: CI Pipeline
2+
on:
3+
push: { branches: [ "main" ] }
4+
pull_request: { branches: [ "main" ] }
5+
6+
jobs:
7+
build:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: actions/checkout@v4
11+
- name: Set up JDK 17
12+
uses: actions/setup-java@v4
13+
with:
14+
java-version: '17'
15+
distribution: 'temurin'
16+
cache: maven
17+
- name: Build + Test + Package
18+
working-directory: OtmTodoApp-master/OtmTodoApp-master
19+
run: mvn -B clean test jacoco:report package

0 commit comments

Comments
 (0)