forked from apache/flink
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
89: setup flink PR checkt pipeline (#90)
- Loading branch information
Showing
2 changed files
with
45 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,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 |
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,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 | ||