Skip to content

Commit

Permalink
Merge pull request #108 from rwth-acis/ci_improvement
Browse files Browse the repository at this point in the history
incorporate arangodb in webocd github actions
  • Loading branch information
beka-zhvania authored Feb 27, 2023
2 parents 59cc32e + 88fc67e commit bfaf948
Showing 1 changed file with 13 additions and 4 deletions.
17 changes: 13 additions & 4 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

name: Java CI with Gradle

# Triggers the workflow on push or pull request events (on every branch)
# Triggers the workflow on push events (on every branch)
on:
push:
branches:
Expand All @@ -11,12 +11,21 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Checkout Code
uses: actions/checkout@v2

- name: Set up JDK 17
uses: actions/setup-java@v1
with:
java-version: 17

- name: Set up Arangodb
uses: xinova/arangodb-action@v1
with:
arangodb version: 'latest' # See https://hub.docker.com/_/arangodb for available versions

- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Run WebOCD Tests with Gradle
run: ./gradlew testWithoutDB

- name: Build WebOCD Service
run: ./gradlew build

0 comments on commit bfaf948

Please sign in to comment.