Skip to content

Commit

Permalink
try to run on debezium (#2306)
Browse files Browse the repository at this point in the history
* try to run on debezium, this is mostly a
  • Loading branch information
davecramer committed Oct 15, 2021
1 parent d5d3c77 commit 6d93eb8
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/debezium.yml
@@ -0,0 +1,36 @@
name: Test Debezium

# only on push or allow us to do this manually using workflow dispatch
on: [push,workflow_dispatch]

jobs:
snapshot:
name: Debezium
runs-on: ubuntu-20.04
#only for master
if: ${{ github.ref == 'refs/heads/master' }}
env:
ACTIONS_STEP_DEBUG: true
ACTIONS_RUNNER_DEBUG: true
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 50
- name: 'Set up JDK 11'
uses: actions/setup-java@v2
with:
distribution: zulu
java-version: 11
- uses: burrunan/gradle-cache-action@v1
name: Publish Snapshot
env:
S3_BUILD_CACHE_ACCESS_KEY_ID: ${{ secrets.S3_BUILD_CACHE_ACCESS_KEY_ID }}
S3_BUILD_CACHE_SECRET_KEY: ${{ secrets.S3_BUILD_CACHE_SECRET_KEY }}
with:
job-id: jdk8
arguments: postgresql:publishToMavenLocal -Ppgjdbc.version=1.0.0-dev-master -PskipJavadoc
- name: clone debezium and run tests
run: |
git clone --depth 1 https://github.com/debezium/debezium.git
cd debezium
mvn clean verify -pl :debezium-connector-postgres -am -Dversion.postgres.server=14 -Dversion.postgresql.driver=1.0.0-dev-master-SNAPSHOT

0 comments on commit 6d93eb8

Please sign in to comment.