This repository was archived by the owner on Oct 2, 2025. It is now read-only.
ADBDEV-7890 Support subset restore with on-error-continue mode #1146
Workflow file for this run
This file contains hidden or 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
| name: build_and_unit_test | |
| on: | |
| push: | |
| branches: [ master ] | |
| pull_request: | |
| branches: [ master ] | |
| types: [ opened, synchronize, reopened, edited, ready_for_review ] | |
| jobs: | |
| build_and_unit_test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v2 | |
| with: | |
| fetch-depth: 0 | |
| path: go/src/github.com/greenplum-db/gpbackup | |
| - name: Set up Go | |
| uses: actions/setup-go@v2 | |
| with: | |
| go-version: "1.20" | |
| - name: Set Environment | |
| run: | | |
| echo "GOPATH=/home/runner/work/gpbackup/gpbackup/go" >> $GITHUB_ENV | |
| echo "/home/runner/work/gpbackup/gpbackup/go/bin" >> $GITHUB_PATH | |
| - name: Dependencies | |
| run: | | |
| cd ${GOPATH}/src/github.com/greenplum-db/gpbackup | |
| make depend | |
| - name: Build | |
| run: | | |
| cd ${GOPATH}/src/github.com/greenplum-db/gpbackup | |
| make build | |
| - name: Unit Test | |
| run: | | |
| cd ${GOPATH}/src/github.com/greenplum-db/gpbackup | |
| make unit_all_gpdb_versions |