hrpc: allow table creation with table attributes (#234) #126
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: CI | |
on: | |
push: | |
branches: [master] | |
pull_request: | |
branches: [master] | |
jobs: | |
build-and-test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
go: [~1.18, ^1] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup | Download HBase | |
run: | | |
ver=2.4.8 && | |
wget -nv https://archive.apache.org/dist/hbase/$ver/hbase-$ver-bin.tar.gz && | |
echo "2CCB816619FA651E72BF7C110FC2455705654276CFEBE067A7B9D8B39641A8A8BB827BE6EBBB7CE9D6A8441B60B6836FF3A3CA2C394952D688621F8B22F9C310 hbase-$ver-bin.tar.gz" | sha512sum --strict --check - && | |
tar zxf hbase-$ver-bin.tar.gz --exclude=docs && | |
ln -s hbase-$ver hbase | |
- name: Setup | Start HBase | |
run: hbase/bin/hbase-daemon.sh --config hbase/conf start master | |
- name: Setup | Go | |
uses: actions/setup-go@v2 | |
with: | |
go-version: ${{ matrix.go }} | |
- name: Build | |
run: go build -v ./... | |
- name: Check | |
run: make check | |
- name: Test | |
run: make integration_cover HBASE_HOME=hbase | |
- name: Upload to Codecov | |
uses: codecov/codecov-action@v2.1.0 |