Skip to content

Issue 292 custom output schema - BigQuery + custom schema support #251

Issue 292 custom output schema - BigQuery + custom schema support

Issue 292 custom output schema - BigQuery + custom schema support #251

name: Tests Pipeline
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
lint_py39:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.9
uses: actions/setup-python@v5
with:
python-version: '3.9'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install black ruff
- name: Run black
run: black --check --exclude simple_ddl_parser/parsetab.py .
- name: Run ruff
run: ruff check --exclude simple_ddl_parser/parsetab.py .
tests:
runs-on: ubuntu-latest
needs: [lint_py39]
strategy:
matrix:
python: ['3.9', '3.10', '3.11', '3.12', '3.13']
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install poetry
poetry install
env:
POETRY_VIRTUALENVS_CREATE: false
- name: Test with pytest
run: |
pytest tests/