Skip to content

Commit ca68705

Browse files
Switch from travis to github actions.
1 parent 692e2ce commit ca68705

File tree

2 files changed

+40
-1
lines changed

2 files changed

+40
-1
lines changed

.github/workflows/gradle.yml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
# This workflow will build a Java project with Gradle
2+
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-gradle
3+
4+
name: build
5+
6+
on:
7+
push:
8+
branches: [ master ]
9+
pull_request:
10+
branches: [ master ]
11+
12+
jobs:
13+
build:
14+
15+
runs-on: ubuntu-latest
16+
17+
steps:
18+
- uses: actions/checkout@v2
19+
- name: Set up OpenJDK 13
20+
uses: actions/setup-java@v1
21+
with:
22+
java-version: 13
23+
- name: Pull elasticsearch image from docker
24+
run: docker pull elasticsearch:7.9.3
25+
- name: Create and run elasticsearch container
26+
run: docker run -d --name elasticsearch4metastore -p 9200:9200 -p 9300:9300 -e "discovery.type=single-node" elasticsearch:7.9.3
27+
- name: Install python
28+
run: sudo apt-get install --assume-yes python3 python3-setuptools python3-pip
29+
- name: Update pip
30+
run: pip3 install --upgrade pip
31+
- name: Install libraries via pip (xmltodict and wget)
32+
run: pip3 install xmltodict wget
33+
- name: Grant execute permission for gradlew
34+
run: chmod +x gradlew
35+
- name: Build with Gradle
36+
run: ./gradlew -Ptravis clean check jacocoTestReport
37+
- name: Coverall
38+
run: ./gradlew coveralls
39+

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ dependencies {
7979
implementation("org.json:json:20200518")
8080

8181
// datamanager
82-
implementation("edu.kit.datamanager:generic-message-consumer:0.2.0")
82+
implementation("edu.kit.datamanager:generic-message-consumer:0.2.1-SNAPSHOT")
8383
implementation "edu.kit.datamanager:service-base:0.2.0"
8484

8585
runtimeOnly 'org.apache.httpcomponents:httpclient:4.5.6'

0 commit comments

Comments
 (0)