diff --git a/.github/workflows/check_and_build.yaml b/.github/workflows/check_and_build.yaml index 7011755f..c087bb17 100644 --- a/.github/workflows/check_and_build.yaml +++ b/.github/workflows/check_and_build.yaml @@ -49,18 +49,3 @@ jobs: - name: Build run: make cdc - - linux_build: - runs-on: ubuntu-latest - name: Linux Build - steps: - - name: Check out code - uses: actions/checkout@v2 - - - name: Setup Go environment - uses: actions/setup-go@v3 - with: - go-version: '1.23' - - - name: Build - run: make cdc diff --git a/.github/workflows/uint_test.yaml b/.github/workflows/uint_test.yaml deleted file mode 100644 index 0173ff6f..00000000 --- a/.github/workflows/uint_test.yaml +++ /dev/null @@ -1,113 +0,0 @@ -name: Uint-Test - -on: - push: - branches: - - master - - "release-[0-9].[0-9]*" - paths-ignore: - - '**/*.md' - - '**/OWNERS' - - 'OWNERS' - - 'OWNERS_ALIASES' - - pull_request: - types: [opened, synchronize, reopened, ready_for_review] - branches: - - master - - "release-[0-9].[0-9]*" - paths-ignore: - - '**/*.md' - - '**/OWNERS' - - 'OWNERS' - - 'OWNERS_ALIASES' - -# See: https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#concurrency. -concurrency: - group: ${{ github.ref }}-${{ github.workflow }} - cancel-in-progress: true - -jobs: - dispatcher_unit_test: - runs-on: ubuntu-latest - name: Dispatcher Unit Test - steps: - - name: Check out code - uses: actions/checkout@v2 - - - name: Setup Go environment - uses: actions/setup-go@v3 - with: - go-version: '1.23' - - - name: Unit Test - run: | - cd pkg/sink/mysql - go test --tags=intest - cd ../util - go test - cd ../../../downstreamadapter/sink/ - go test ./... --tags=intest - cd ../dispatcher - go test --tags=intest - cd ../worker - go test ./... --tags=intest - cd ../../pkg/sink/codec - cd open - go test --tags=intest - cd ../canal - go test --tags=intest - - maintainer_unit_test: - runs-on: ubuntu-latest - name: Maintainer Unit Test - steps: - - name: Check out code - uses: actions/checkout@v2 - - - name: Setup Go environment - uses: actions/setup-go@v3 - with: - go-version: '1.23' - - - name: Unit Test - run: | - go test --tags=intest -timeout 120s github.com/pingcap/ticdc/maintainer/... - - coordinator_unit_test: - runs-on: ubuntu-latest - name: Coordinator Unit Test - steps: - - name: Check out code - uses: actions/checkout@v2 - - - name: Setup Go environment - uses: actions/setup-go@v3 - with: - go-version: '1.23' - - - name: Unit Test - run: | - go test --tags=intest -timeout 120s github.com/pingcap/ticdc/coordinator/... - - eventservice_unit_test: - runs-on: ubuntu-latest - name: Other Unit Tests - steps: - - name: Check out code - uses: actions/checkout@v2 - - - name: Setup Go environment - uses: actions/setup-go@v3 - with: - go-version: '1.23' - - - name: Unit Test - run: | - go test --tags=intest -timeout 120s github.com/pingcap/ticdc/pkg/eventservice/... - go test --tags=intest -timeout 120s github.com/pingcap/ticdc/utils/dynstream... - - - - -