-
Notifications
You must be signed in to change notification settings - Fork 8
54 lines (46 loc) · 1.15 KB
/
liquibase-stress-test.yaml
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
50
51
52
53
54
name: Stress test `liquibase update`
on:
push:
tags:
- 'liquibase-ydb/v[0-9]+.[0-9]+.[0-9]+'
paths:
- 'liquibase-dialect/**'
branches:
- main
pull_request:
paths:
- 'liquibase-dialect/**'
jobs:
stress-test:
name: YDB Liquibase Dialect
runs-on: ubuntu-latest
strategy:
matrix:
java: [ '8', '11', '17' ]
ydb-version: [ 'latest' ]
services:
ydb:
image: ydbplatform/local-ydb:${{ matrix.ydb-version }}
ports:
- 2135:2135
- 2136:2136
- 8765:8765
volumes:
- /tmp/ydb_certs:/ydb_certs
env:
YDB_LOCAL_SURVIVE_RESTART: true
YDB_TABLE_ENABLE_PREPARED_DDL: true
options: '-h localhost'
steps:
- uses: actions/checkout@v4
- name: Set up JDK ${{matrix.java}}
uses: actions/setup-java@v4
with:
java-version: ${{matrix.java}}
distribution: 'temurin'
cache: maven
- name: Install Go
uses: actions/setup-go@v3
- name: Run stress test
working-directory: ./liquibase-dialect/stress-test
run: bash run.sh