Skip to content

Commit

Permalink
89: setup flink PR checkt pipeline (#90)
Browse files Browse the repository at this point in the history
  • Loading branch information
imaffe committed Jun 21, 2022
1 parent 3a4c113 commit 115f7b8
Show file tree
Hide file tree
Showing 2 changed files with 45 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/daily-end-to-end-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Daily End to End Test

on:
schedule:
- cron: 0 1 * * *
workflow_dispatch:
jobs:
sync:
name: Run End to End test for pulsar
runs-on: ubuntu-latest
strategy:
matrix:
branch:
- develop
- relesae-sn-1.14
- release-sn-1.15
steps:
- name: Checkout the code
uses: actions/checkout@v2
with:
ref: ${{ matrix.branch }}
- name: Run e2e Test
run: |
./mvnw clean install -DskipTests
./mvnw -pl 'flink-end-to-end-tests/flink-end-to-end-tests-pulsar' test
20 changes: 20 additions & 0 deletions .github/workflows/run-pr-check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Run Test for Pull Request

on:
pull_request:
branches: [ develop, release-sn-** ]

jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout the code
uses: actions/checkout@v2
with:
ref: ${{ github.event.pull_request.head.sha }}

- name: Run Unit Test and Install
run: |
./mvnw -pl 'flink-connectors/flink-connector-pulsar,flink-connectors/flink-sql-connector-pulsar' \
clean install

0 comments on commit 115f7b8

Please sign in to comment.