-
Notifications
You must be signed in to change notification settings - Fork 0
83 lines (72 loc) · 1.73 KB
/
test-gradle-project.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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
name: Tests for db-messiah-extra
on:
push:
jobs:
build-gradle-project:
runs-on: ubuntu-latest
steps:
- name: Checkout project sources
uses: actions/checkout@v3
- name: Setup Gradle
uses: gradle/gradle-build-action@v2
- name: Run github tests
run: ./gradlew github
services:
db2:
image: icr.io/db2_community/db2
env:
LICENSE: accept
DB2INSTANCE: db2inst1
DB2INST1_PASSWORD: root
DBNAME: main
BLU: false
ENABLE_ORACLE_COMPATIBILITY: false
UPDATEAVAIL: NO
TO_CREATE_SAMPLEDB: true
REPODB: false
IS_OSXFS: false
PERSISTENT_HOME: true
HADR_ENABLED: false
ports:
- 50000:50000
options: >-
--privileged
maria:
image: mariadb
env:
MARIADB_ROOT_PASSWORD: root
ports:
- 3306:3306
postgres:
image: postgres
env:
POSTGRES_DB: public
POSTGRES_PASSWORD: root
POSTGRES_USER: root
ports:
- 5432:5432
mysql:
image: mysql
env:
MYSQL_ROOT_PASSWORD: root
MYSQL_TCP_PORT: 3307
ports:
- 3307:3307
mssql:
image: mcr.microsoft.com/mssql/server:2017-latest
env:
ACCEPT_EULA: Y
MSSQL_SA_PASSWORD: Root_root1
ports:
- 1433:1433
oracle:
image: gvenzl/oracle-xe:18-slim
env:
ORACLE_PASSWORD: root
ports:
- 1521:1521
options: >-
--health-cmd healthcheck.sh
--health-interval 20s
--health-timeout 10s
--health-retries 10