diff --git a/.github/workflows/daily-end-to-end-test.yml b/.github/workflows/daily-end-to-end-test.yml new file mode 100644 index 0000000000000..1d4ad642427e8 --- /dev/null +++ b/.github/workflows/daily-end-to-end-test.yml @@ -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 diff --git a/.github/workflows/run-pr-check.yml b/.github/workflows/run-pr-check.yml new file mode 100644 index 0000000000000..3c765bb17a8db --- /dev/null +++ b/.github/workflows/run-pr-check.yml @@ -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 +