forked from debezium/debezium
-
Notifications
You must be signed in to change notification settings - Fork 0
54 lines (52 loc) · 1.85 KB
/
mysql-legacy-workflow.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
name: Build MySQL Connector and test legacy implementation
on:
push:
paths:
- 'support/checkstyle/**'
- 'support/ide-configs/**'
- 'support/revapi/**'
- 'debezium-api/**'
- 'debezium-ddl-parser/**'
- 'debezium-assembly-descriptors/**'
- 'debezium-core/**'
- 'debezium-embedded/**'
- 'debezium-connector-mysql/**'
- 'debezium-microbenchmark/**'
- 'debezium-e2e-benchmark/**'
- 'debezium-scripting/**'
- 'debezium-parent/pom.xml'
- 'debezium-bom/pom.xml'
- 'pom.xml'
- '.github/workflows/mysql-legacy-workflow.yml'
pull_request:
paths:
- 'support/checkstyle/**'
- 'support/ide-configs/**'
- 'support/revapi/**'
- 'debezium-api/**'
- 'debezium-ddl-parser/**'
- 'debezium-assembly-descriptors/**'
- 'debezium-core/**'
- 'debezium-embedded/**'
- 'debezium-connector-mysql/**'
- 'debezium-microbenchmark/**'
- 'debezium-e2e-benchmark/**'
- 'debezium-scripting/**'
- 'debezium-parent/pom.xml'
- 'debezium-bom/pom.xml'
- 'pom.xml'
- '.github/workflows/mysql-legacy-workflow.yml'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Cache local Maven repository
uses: actions/cache@v2
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- name: Check changes in Debezium Connector MYSQL
run: 'mvn clean install -B -pl debezium-connector-mysql -am -Passembly -Dformat.formatter.goal=validate -Dformat.imports.goal=check -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn -Dtest.argline="-Dinternal.implementation=legacy -Dtest.streaming.metrics.namespace=binlog"'