Skip to content

Reporting range aggregate functions and IS JSON predicate clauses #409

Reporting range aggregate functions and IS JSON predicate clauses

Reporting range aggregate functions and IS JSON predicate clauses #409

Workflow file for this run

name: Go
on:
push:
branches: ['main', '*.*-dev', '*.*.*-dev']
pull_request:
branches: [main]
jobs:
test-issues-against-all-yb-versions:
strategy:
fail-fast: false
matrix:
version: [2.23.1.0-b220, 2024.1.3.1-b8, 2024.2.0.0-b145, 2.20.8.0-b53, 2.18.9.0-b17]
env:
YB_VERSION: ${{ matrix.version }}
YB_CONN_STR: "postgres://yugabyte:[email protected]:5433/yugabyte"
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: "1.23.1"
- name: Setup YugabyteDB
run: |
# using s3 release instead of docker image to allow testing against un-released versions
wget https://s3.us-west-2.amazonaws.com/releases.yugabyte.com/${YB_VERSION}/yugabyte-${YB_VERSION}-centos-x86_64.tar.gz
mkdir -p yugabyte-${YB_VERSION}
tar -xvzf yugabyte-${YB_VERSION}-centos-x86_64.tar.gz -C yugabyte-${YB_VERSION} --strip-components=1
yugabyte-${YB_VERSION}/bin/yugabyted start --advertise_address 127.0.0.1
sleep 20
- name: Test YugabyteDB connection
run: |
psql "${YB_CONN_STR}" -c "SELECT version();"
- name: Build
run: |
cd yb-voyager
go build -v ./...
- name: Test Issues Against YB Version
run: |
cd yb-voyager
go test -v ./... -tags 'issues_integration'