Skip to content

feat: implement basic features except facets #16

feat: implement basic features except facets

feat: implement basic features except facets #16

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install ruff mypy django-stubs django
- name: Ruff check
run: ruff check .
- name: Ruff format check
run: ruff format --check .
- name: Type check
run: mypy src/paradedb
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.13"]
django-version: ["6.0"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install "Django~=${{ matrix.django-version }}.0"
pip install -e ".[dev]"
# Tests SQL generation only - no database required
- name: Run tests
run: pytest --cov=paradedb --cov-report=xml
- name: Upload coverage
uses: codecov/codecov-action@v4
with:
files: ./coverage.xml
fail_ci_if_error: false