forked from chen-anders/gh-ost
-
Notifications
You must be signed in to change notification settings - Fork 0
49 lines (36 loc) · 972 Bytes
/
replica-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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
name: migration tests
on: [push]
jobs:
build:
runs-on: ubuntu-20.04
strategy:
fail-fast: false
matrix:
version: [mysql-5.7.25,mysql-8.0.16,PerconaServer-8.0.21]
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version-file: go.mod
- name: migration tests
env:
TEST_MYSQL_VERSION: ${{ matrix.version }}
run: script/cibuild-gh-ost-replica-tests
docker-tests:
runs-on: ubuntu-22.04
strategy:
fail-fast: false
matrix:
image: ['mysql:8.4.3']
env:
TEST_MYSQL_IMAGE: ${{ matrix.image }}
steps:
- uses: actions/checkout@v4
- name: Setup environment
run: script/docker-gh-ost-replica-tests up
- name: Run tests
run: script/docker-gh-ost-replica-tests run
- name: Teardown environment
if: always()
run: script/docker-gh-ost-replica-tests down