-
Notifications
You must be signed in to change notification settings - Fork 0
31 lines (28 loc) · 930 Bytes
/
tests.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
name: Tests
on:
push:
branches:
- master
- release/*
pull_request:
workflow_dispatch:
jobs:
mysql-tests:
name: MySQL
uses: ./.github/workflows/tests-matrix.yml
with:
DATABASE_IMAGE: mysql:8.0
DATABASE_PORT: 3306
DATABASE_USERNAME: root
DATABASE_CONNECTION: mysql
DATABASE_OPTIONS: "--health-cmd=\"mysqladmin ping\" --health-interval=10s --health-timeout=5s --health-retries=3"
postgres-tests:
name: PostgreSQL
uses: ./.github/workflows/tests-matrix.yml
with:
DATABASE_IMAGE: postgres:17
DATABASE_CLIENT_VERSION: 17
DATABASE_PORT: 5432
DATABASE_USERNAME: postgres
DATABASE_CONNECTION: pgsql
DATABASE_OPTIONS: "--health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 3"