-
Notifications
You must be signed in to change notification settings - Fork 96
49 lines (44 loc) · 1.07 KB
/
resilience.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
42
43
44
45
46
47
48
49
name: Resilience Tests
on:
workflow_dispatch:
push:
branches:
- main
- devel
paths-ignore:
- 'docker/**'
- 'tutorial/**'
- 'ChangeLog.md'
- 'README.md'
pull_request:
types: [ opened, synchronize, reopened ]
branches:
- main
jobs:
test:
timeout-minutes: 20
runs-on: ubuntu-latest
env:
TOXIPROXY_VERSION: v2.7.0
steps:
- uses: actions/checkout@v2
- name: Set up JDK
uses: actions/setup-java@v2
with:
java-version: 21
distribution: 'adopt'
cache: maven
- name: Start Database
run: ./docker/start_db.sh
env:
STARTER_MODE: cluster
- name: Info
run: mvn -version
- name: Start Toxiproxy
working-directory: resilience-tests
run: ./bin/startProxy.sh
- name: Install
run: mvn --no-transfer-progress install -DskipTests=true -Dgpg.skip=true -Dmaven.javadoc.skip=true
- name: Test
working-directory: resilience-tests
run: mvn --no-transfer-progress test