gh-ost/.github/workflows/replica-tests.yml

38 lines
873 B
YAML
Raw Normal View History

2019-08-11 15:04:04 +03:00
name: migration tests
2022-12-04 01:40:53 +01:00
on:
- pull_request
2019-08-11 14:58:37 +03:00
jobs:
build:
runs-on: ubuntu-20.04
2021-05-08 00:23:31 +02:00
strategy:
matrix:
2022-12-04 01:40:53 +01:00
tests:
- image: mysql:5.7
engine: innodb
- image: mysql:8.0
engine: innodb
- image: percona:5.7
engine: innodb
- image: percona:8.0
engine: innodb
- image: percona:5.7
engine: rocksdb
- image: percona:8.0
engine: rocksdb
2019-08-11 14:58:37 +03:00
steps:
2020-06-28 08:39:16 +03:00
- uses: actions/checkout@v2
2019-08-11 14:58:37 +03:00
2022-12-04 01:40:53 +01:00
- name: generate mysql environment file
env:
TEST_STORAGE_ENGINE: "${{ matrix.tests.engine }}"
run: localtests/mysql-env.sh
2019-08-11 14:58:37 +03:00
2022-12-04 01:40:53 +01:00
- name: run localtests
2021-05-08 00:23:31 +02:00
env:
2022-12-04 01:40:53 +01:00
TEST_DOCKER_IMAGE: "${{ matrix.tests.image }}"
run: docker-compose -f localtests/docker-compose.yml up --abort-on-container-exit --no-log-prefix tests