-
Notifications
You must be signed in to change notification settings - Fork 47
41 lines (36 loc) · 1.01 KB
/
ci.yml
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
38
39
40
41
name: CI
on:
push:
branches:
- master
pull_request:
branches:
- develop
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
test:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- name: Set up JDK 11
uses: actions/setup-java@v2
with:
java-version: '11'
distribution: 'temurin'
cache: 'maven'
- name: Update apt-get
run: sudo apt-get update
- name: Install ARCUS
run: |
# clone
git clone https://github.com/naver/arcus.git $HOME/arcus
# build server
cd ~/arcus && docker compose up -d
- name: Build ARCUS Client
run: mvn install -DskipTests
- name: Test ARCUS Client -DUSE_ZK=false -DARCUS_HOST=127.0.0.1:11212
run: mvn test -DUSE_ZK=false -DARCUS_HOST=127.0.0.1:11212
- name: Test ARCUS Client -DUSE_ZK=true
run: mvn test -DUSE_ZK=true