-
Notifications
You must be signed in to change notification settings - Fork 74
37 lines (29 loc) · 771 Bytes
/
gradle.yml
File metadata and controls
37 lines (29 loc) · 771 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
name: Java CI
on:
push:
branches:
- '**'
tags-ignore:
- '**'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Start docker compose for integration tests
run: docker-compose -f docker/docker-compose.yml up -d
- name: Build with Gradle
run: ./gradlew --info build jacocoTestReport
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1
with:
file: ./build/reports/jacoco/report.xml
- name: Upload build artifact
uses: actions/upload-artifact@v1
with:
name: kafka-gitops.jar
path: build/libs/kafka-gitops-all.jar