Add Merkle tree tests #404
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: Go Integration Tests | |
| on: | |
| push: | |
| branches: [ main ] | |
| pull_request: | |
| branches: [ main ] | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| with: | |
| lfs: true | |
| - name: Set up Go | |
| uses: actions/setup-go@v4 | |
| with: | |
| go-version: '1.26' | |
| - name: Run table-diff simple pkey tests | |
| run: go test -count=1 -v ./tests/integration -run 'TestTableDiffSimplePK' | |
| - name: Run table-diff composite pkey tests | |
| run: go test -count=1 -v ./tests/integration -run 'TestTableDiffCompositePK' | |
| - name: Run table-repair tests | |
| run: go test -count=1 -v ./tests/integration -run 'TableRepair' | |
| - name: Run Merkle Tree simple pkey tests | |
| run: go test -count=1 -v ./tests/integration -run 'TestMerkleTreeSimplePK' | |
| - name: Run Merkle Tree composite pkey tests | |
| run: go test -count=1 -v ./tests/integration -run 'TestMerkleTreeCompositePK' | |
| - name: Run mtree regression tests | |
| run: go test -count=1 -v ./tests/integration -run 'TestBuildMtree|TestUpdateMtree|TestMtreeInit|TestACEConn' | |
| - name: Run CDC regression tests | |
| run: go test -count=1 -v ./tests/integration -run 'CDC' | |
| - name: Run crash recovery origin-filter test | |
| run: go test -count=1 -v ./tests/integration -run 'TestTableDiffAgainstOriginWithUntil' | |
| - name: Run advanced repair plan tests | |
| run: go test -count=1 -v ./tests/integration -run 'TestAdvancedRepairPlan' | |
| - name: Run repset-diff tests | |
| run: go test -count=1 -v ./tests/integration -run 'TestRepsetDiff_' | |
| - name: Run schema-diff tests | |
| run: go test -count=1 -v ./tests/integration -run 'TestSchemaDiff_' | |
| - name: Run Merkle tree numeric scale invariance test | |
| run: go test -count=1 -v ./tests/integration -run 'TestMerkleTreeNumericScaleInvariance' | |
| - name: Run catastrophic single-node failure recovery test | |
| run: go test -count=1 -v ./tests/integration -run 'TestCatastrophicSingleNodeFailure' | |
| - name: Run table-diff --until filter tests | |
| run: go test -count=1 -v ./tests/integration -run 'TestTableDiffUntilFilter' | |
| - name: Run Merkle Tree --until filter tests | |
| run: go test -count=1 -v ./tests/integration -run 'TestMerkleTreeUntilFilter' | |
| - name: Run native PG (no spock) tests | |
| run: go test -count=1 -v ./tests/integration -run 'TestNativePG' | |
| - name: Run timestamp comparison tests | |
| run: go test -count=1 -v ./tests/integration -run 'TestCompareTimestampsExact|TestPostgreSQLMicrosecondPrecision|TestOldVsNewComparison' |