Skip to content

cognify: update function signature to accept dataset_name instead of ids #5

cognify: update function signature to accept dataset_name instead of ids

cognify: update function signature to accept dataset_name instead of ids #5

Workflow file for this run

name: Tests
on:
pull_request:
branches: [ main, dev ]
push:
branches: [ main, dev ]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10", "3.11", "3.12", "3.13"]
fail-fast: false
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 uv
uses: astral-sh/setup-uv@v3
- name: Set up uv cache
uses: actions/cache@v4
with:
path: /tmp/.uv-cache
key: uv-${{ runner.os }}-${{ hashFiles('uv.lock') }}
- name: Install dependencies
run: |
uv sync --all-extras --dev
uv pip install -e .
- name: Run linting
run: |
uv run ruff check --output-format=github .
- name: Run tests with pytest
run: |
uv run pytest --verbose --tb=short