Support multistage query engine #67
Workflow file for this run
This file contains 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: Pinot Client Go Tests | |
on: | |
push: | |
branches: | |
- master | |
paths-ignore: | |
- "**.md" | |
pull_request: | |
branches: | |
- master | |
paths-ignore: | |
- "**.md" | |
jobs: | |
golangci: | |
runs-on: ubuntu-latest | |
name: Linter | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-go@v4 | |
with: | |
go-version: 1.19 | |
cache: false | |
- name: Linter | |
uses: golangci/golangci-lint-action@v3 | |
unit-tests: | |
runs-on: ubuntu-latest | |
name: Unit Tests | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Go | |
uses: actions/setup-go@v3 | |
with: | |
go-version: 1.19 | |
- name: Before Install | |
run: make setup | |
- name: Build | |
run: make build | |
- name: Test | |
run: make test | |
- name: Convert coverage to lcov | |
uses: jandelgado/gcov2lcov-action@v1.0.9 | |
with: | |
infile: profile.cov | |
outfile: coverage.lcov | |
- name: Publish to coveralls.io | |
uses: coverallsapp/github-action@v2 | |
with: | |
github-token: ${{ github.token }} | |
path-to-lcov: coverage.lcov | |
flag-name: unit | |
allow-empty: true | |
integration-tests: | |
runs-on: ubuntu-latest | |
name: Integration Tests | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Go | |
uses: actions/setup-go@v3 | |
with: | |
go-version: 1.19 | |
- name: Before Install | |
run: make setup | |
- name: Build | |
run: make build | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v3 | |
with: | |
java-version: 17 | |
distribution: "adopt" | |
- name: Set up Pinot Cluster | |
run: make run-pinot-dist | |
env: | |
PINOT_VERSION: 1.0.0 | |
PINOT_HOME: /tmp/pinot | |
CONTROLLER_PORT_FORWARD: 9000 | |
BROKER_PORT_FORWARD: 8000 | |
- name: Integration Test | |
run: make integration-test | |
env: | |
ZOOKEEPER_PORT: 2123 | |
CONTROLLER_PORT: 9000 | |
BROKER_PORT: 8000 | |
- name: Convert coverage to lcov | |
uses: jandelgado/gcov2lcov-action@v1.0.9 | |
with: | |
infile: profile.cov | |
outfile: coverage.lcov | |
- name: Publish to coveralls.io | |
uses: coverallsapp/github-action@v2 | |
with: | |
github-token: ${{ github.token }} | |
path-to-lcov: coverage.lcov | |
flag-name: integration | |
allow-empty: true |