Skip to content

Merge pull request #137 from mesutoezdil/feat/label-model-grader #270

Merge pull request #137 from mesutoezdil/feat/label-model-grader

Merge pull request #137 from mesutoezdil/feat/label-model-grader #270

Workflow file for this run

name: CI
on:
pull_request:
branches: [main]
push:
branches: [main]
permissions:
contents: read
jobs:
helm-chart:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: Lint + template
run: make helm-test
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: astral-sh/setup-uv@v7
with:
enable-cache: true
- name: Install dependencies
run: |
uv venv
uv pip install setuptools
uv sync --dev
- name: Ruff check
run: uv run ruff check .
- name: Ruff format check
run: uv run ruff format --check .
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.11", "3.12", "3.13"]
steps:
- uses: actions/checkout@v6
- uses: astral-sh/setup-uv@v7
with:
enable-cache: true
- name: Install Python ${{ matrix.python-version }}
run: uv python install ${{ matrix.python-version }}
- name: Install dependencies
run: |
uv venv --python ${{ matrix.python-version }}
uv pip install setuptools
uv sync --dev --python ${{ matrix.python-version }}
- name: Run tests
run: uv run pytest -m "not integration and not e2e" --tb=short -q