Skip to content

Server Version Bump #1205

Server Version Bump

Server Version Bump #1205

name: Bigquery Integration CI
on:
pull_request:
paths:
- "grai-integrations/source-bigquery/**"
- "grai-client/**"
- "grai-server/**"
- ".github/workflows/integration-bigquery-ci.yml"
concurrency:
group: ${{ github.ref }}-bigquery-ci
cancel-in-progress: true
env:
project_dir: "grai-integrations/source-bigquery"
py_ver: "${{ vars.PY_VER }}"
poetry_ver: "${{ vars.POETRY_VER }}"
jobs:
lint-integration-bigquery:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ${{ env.project_dir }}
steps:
- name: Check out Git repository
uses: actions/checkout@v4
- name: Install Python
id: setup-python
uses: actions/setup-python@v5
with:
python-version: "${{ env.py_ver }}"
- run: pip install black isort
- run: |
black . --check
isort . --profile black --check
tests-integration-bigquery:
needs: lint-integration-bigquery
runs-on: ubuntu-latest
defaults:
run:
working-directory: ${{ env.project_dir }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "${{ env.py_ver }}"
- uses: abatilo/actions-poetry@v2
with:
poetry-version: "${{ env.poetry_ver }}"
- run: poetry install
- name: Run Bigquery Tests
run: poetry run pytest