Skip to content

refactor: slim package refactor into three subpackages #761

refactor: slim package refactor into three subpackages

refactor: slim package refactor into three subpackages #761

Workflow file for this run

name: CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
workflow_dispatch:
jobs:
test:
name: Test (Python ${{ matrix.python-version }} on ${{ matrix.os }})
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest]
python-version: ["3.10", "3.11", "3.12", "3.13"]
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v5
with:
version: "latest"
python-version: ${{ matrix.python-version }}
enable-cache: true
- name: Install dependencies
run: make install-dev
- name: Run tests with coverage
run: |
uv run --group dev pytest -v \
packages/data-designer-config/tests \
packages/data-designer-engine/tests \
packages/data-designer/tests \
--cov=data_designer \
--cov-report=term-missing \
--cov-report=xml \
--cov-fail-under=90
test-e2e:
name: End to end test (Python ${{ matrix.python-version }} on ${{ matrix.os }})
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest]
python-version: ["3.10", "3.11", "3.12", "3.13"]
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v5
with:
version: "latest"
python-version: ${{ matrix.python-version }}
enable-cache: false
- name: Run e2e tests
run: make test-e2e
lint:
name: Lint and Format Check
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v5
with:
version: "latest"
python-version: "3.11"
enable-cache: true
- name: Install dependencies
run: make install-dev
- name: Check formatting
run: make format-check
- name: Run linter
run: make lint
license-headers:
name: Check License Headers
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0 # Full history needed for file creation dates
- name: Install uv
uses: astral-sh/setup-uv@v5
with:
version: "latest"
python-version: "3.11"
enable-cache: true
- name: Install dependencies
run: make install-dev
- name: Check license headers
run: make check-license-headers