feat: add sql completions powered by LLM #1698
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: PythonTests | |
on: | |
push: | |
branches: | |
- master | |
paths: | |
- '**.py' | |
- 'requirements/**/*.txt' | |
pull_request: | |
paths: | |
- '**.py' | |
- 'requirements/**/*.txt' | |
jobs: | |
pythontests: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install libs | |
run: > | |
sudo apt-get update && DEBIAN_FRONTEND=noninteractive sudo apt-get install --no-install-recommends -y --allow-downgrades --allow-remove-essential --allow-change-held-packages | |
libsasl2-dev | |
libsasl2-modules | |
build-essential | |
libssl-dev | |
libldap2-dev | |
- uses: actions/setup-python@v2 | |
with: | |
python-version: '3.9' | |
- uses: actions/cache@v2 | |
id: pip-cache | |
with: | |
path: ~/.cache/pip | |
key: ${{ runner.os }}-pip-${{ hashFiles('**/base.txt') }}-${{ hashFiles('**/test.txt') }} | |
restore-keys: | | |
${{ runner.os }}-pip- | |
- name: Install Python dependencies | |
# if: steps.pip-cache.outputs.cache-hit != 'true' | |
run: | | |
python -m pip install --upgrade pip | |
pip install -r requirements/base.txt | |
pip install -r requirements/test.txt | |
- run: PYTHONPATH=querybook/server:plugins ./querybook/scripts/run_test --python |