Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* try to run on debezium, this is mostly a
- Loading branch information
1 parent
d5d3c77
commit 6d93eb8
Showing
1 changed file
with
36 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |