diff --git a/.asf.yaml b/.asf.yaml index 9a377230..417dc9aa 100644 --- a/.asf.yaml +++ b/.asf.yaml @@ -52,7 +52,12 @@ github: strict: true # contexts are the names of checks that must pass. contexts: - - build_and_unit_test + - Build Cloudberry From Source + - Cloudberry-backup Tests (unit) + - Cloudberry-backup Tests (integration) + - Cloudberry-backup Tests (end_to_end) + - Cloudberry-backup Tests (s3_plugin_e2e) + - Cloudberry-backup Tests (regression) required_pull_request_reviews: dismiss_stale_reviews: false required_approving_review_count: 1 diff --git a/.github/workflows/build_and_unit_test.yml b/.github/workflows/build_and_unit_test.yml deleted file mode 100644 index 9727fc74..00000000 --- a/.github/workflows/build_and_unit_test.yml +++ /dev/null @@ -1,44 +0,0 @@ -name: build_and_unit_test - -on: - push: - branches: [ main ] - pull_request: - branches: [ main ] - types: [ opened, synchronize, reopened, edited, ready_for_review ] - workflow_dispatch: - -jobs: - - build_and_unit_test: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - with: - fetch-depth: 0 - path: go/src/github.com/apache/cloudberry-backup - - - name: Set up Go - uses: actions/setup-go@v2 - with: - go-version: 1.21 - - - name: Set Environment - run: | - echo "GOPATH=${GITHUB_WORKSPACE}/go" >> $GITHUB_ENV - echo "${GITHUB_WORKSPACE}/go/bin" >> $GITHUB_PATH - - - name: Dependencies - run: | - cd ${GOPATH}/src/github.com/apache/cloudberry-backup - make depend - - - name: Build - run: | - cd ${GOPATH}/src/github.com/apache/cloudberry-backup - make build - - - name: Unit Test - run: | - cd ${GOPATH}/src/github.com/apache/cloudberry-backup - make unit_all_gpdb_versions