CI HBase #1626
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
# | |
# Author: Hari Sekhon | |
# Date: Tue Feb 4 09:53:28 2020 +0000 | |
# | |
# vim:ts=2:sts=2:sw=2:et | |
# | |
# https://github.com/HariSekhon/Nagios-Plugins | |
# | |
# If you're using my code you're welcome to connect with me on LinkedIn and optionally send me feedback | |
# | |
# https://www.linkedin.com/in/HariSekhon | |
# | |
--- | |
name: CI HBase | |
on: | |
push: | |
branches: | |
- master | |
- main | |
paths: | |
- '**/*hbase*' | |
schedule: | |
- cron: '0 10 * * *' | |
jobs: | |
build: | |
#name: build | |
timeout-minutes: 180 | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/cache@v1 | |
with: | |
path: ~/.cache/pip | |
key: ${{ runner.os }}-pip-nagios-plugins # ${{ hashFiles('**/requirements.txt') }} | |
restore-keys: | | |
${{ runner.os }}-pip-nagios-plugins | |
- uses: actions/cache@v1 | |
with: | |
path: ~/.cpanm | |
key: ${{ runner.os }}-cpanm-nagios-plugins-${{ hashFiles('**/cpan-requirements.txt') }} | |
restore-keys: | | |
${{ runner.os }}-cpanm-nagios-plugins | |
- name: build | |
run: make | |
- name: zookeeper | |
run: make zookeeper | |
- name: test hbase | |
run: HBASE_IMAGE=hbase tests/test_hbase.sh | |
- name: test hbase dev | |
run: tests/test_hbase.sh |