Skip to content

Commit

Permalink
add ci
Browse files Browse the repository at this point in the history
  • Loading branch information
wk989898 committed Jan 8, 2025
1 parent 0dd7516 commit 740b3f8
Showing 1 changed file with 123 additions and 0 deletions.
123 changes: 123 additions & 0 deletions .github/workflows/integration_test_mysql.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,129 @@ jobs:
run: |
export TICDC_NEWARCH=true && make integration_test CASE=region_merge
# The 12th case in this group
- name: Test safe mode
if: ${{ success() }}
run: |
export TICDC_NEWARCH=true && make integration_test CASE=safe_mode
# The 13th case in this group
- name: Test savepoint
if: ${{ success() }}
run: |
export TICDC_NEWARCH=true && make integration_test CASE=savepoint
# The 14th case in this group
- name: Test server config compatibility
if: ${{ success() }}
run: |
export TICDC_NEWARCH=true && make integration_test CASE=server_config_compatibility
# The 15th case in this group
- name: Test split region
if: ${{ success() }}
run: |
export TICDC_NEWARCH=true && make integration_test CASE=split_region
- name: Upload test logs
if: always()
uses: ./.github/actions/upload-test-logs
with:
log-name: e2e_test_group_1

e2e_test_group_2:
## Only run ci when PR is not draft
if: github.event.pull_request.draft == false

runs-on: ubuntu-latest
name: E2E Test Group 2
steps:
- name: Check out code
uses: actions/checkout@v2

- name: Setup Go environment
uses: actions/setup-go@v3
with:
go-version: '1.23'

- name: Integration Build
run: |
tests/scripts/download-integration-test-binaries.sh master true
go build -o ./tools/bin/failpoint-ctl github.com/pingcap/failpoint/failpoint-ctl
make integration_test_build
ls -l bin/ && ls -l tools/bin/
- name: Test api_v2
if: ${{ success() }}
run: |
export TICDC_NEWARCH=true && make integration_test CASE=api_v2
- name: Test autorandom
if: ${{ success() }}
run: |
export TICDC_NEWARCH=true && make integration_test CASE=autorandom
- name: Test availability
if: ${{ success() }}
run: |
export TICDC_NEWARCH=true && make integration_test CASE=availability
- name: Test bank
if: ${{ success() }}
run: |
export TICDC_NEWARCH=true && make integration_test CASE=bank
- name: Test batch_add_table
if: ${{ success() }}
run: |
export TICDC_NEWARCH=true && make integration_test CASE=batch_add_table
- name: Test batch_update_to_no_batch
if: ${{ success() }}
run: |
export TICDC_NEWARCH=true && make integration_test CASE=batch_update_to_no_batch
- name: Test ci_collation_compatibility
if: ${{ success() }}
run: |
export TICDC_NEWARCH=true && make integration_test CASE=ci_collation_compatibility
- name: Test multi_capture
if: ${{ success() }}
run: |
export TICDC_NEWARCH=true && make integration_test CASE=multi_capture
- name: Test multi_cdc_cluster
if: ${{ success() }}
run: |
export TICDC_NEWARCH=true && make integration_test CASE=multi_cdc_cluster
- name: Test multi_rocks
if: ${{ success() }}
run: |
export TICDC_NEWARCH=true && make integration_test CASE=multi_rocks
- name: Test resourcecontrol
if: ${{ success() }}
run: |
export TICDC_NEWARCH=true && make integration_test CASE=resourcecontrol
- name: Test row_format
if: ${{ success() }}
run: |
export TICDC_NEWARCH=true && make integration_test CASE=row_format
- name: Test tiflash
if: ${{ success() }}
run: |
export TICDC_NEWARCH=true && make integration_test CASE=tiflash
# The 14th case in this group
- name: Test vector
if: ${{ success() }}
run: |
export TICDC_NEWARCH=true && make integration_test CASE=vector
- name: Upload test logs
if: always()
uses: ./.github/actions/upload-test-logs
Expand Down

0 comments on commit 740b3f8

Please sign in to comment.