Skip to content

fix: update e2e for v6 #4212

fix: update e2e for v6

fix: update e2e for v6 #4212

Workflow file for this run

name: Lints
on:
push:
pull_request:
paths-ignore:
- "docs/**"
- "*.md"
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
env:
RUFF_VERSION: "0.15.10"
GRIFFE_VERSION: "1.15.0"
permissions: {}
jobs:
lint:
permissions:
contents: read
name: Run lints
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- name: Run ruff check
uses: astral-sh/ruff-action@278981a28ce3188b1e39527901f38254bf3aac89 # v4.1.0
with:
src: kernels
version: ${{ env.RUFF_VERSION }}
- name: Run ruff format check
uses: astral-sh/ruff-action@278981a28ce3188b1e39527901f38254bf3aac89 # v4.1.0
with:
src: kernels
version: ${{ env.RUFF_VERSION }}
args: format --check
griffe:
permissions:
contents: read
name: Check API compatibility
runs-on: ubuntu-latest
env:
UV_PYTHON_PREFERENCE: only-managed
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
fetch-depth: 0
- name: Install uv and set the python version
uses: astral-sh/setup-uv@bec219d24cd3e171d82865faccec33120bb574f4 # v10.1.0
with:
python-version: "3.12"
- name: Check for breaking changes
run: uvx griffe==${GRIFFE_VERSION} check kernels --search kernels/src -a main
validate-dependencies:
permissions:
contents: read
name: Validate python_depends.json
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- name: Validate python_depends.json is up-to-date
run: diff kernels-common/src/python_dependencies.json kernels/src/kernels/python_depends.json