Skip to content

LitTool.from_model method to create LitTool from Pydantic #364

LitTool.from_model method to create LitTool from Pydantic

LitTool.from_model method to create LitTool from Pydantic #364

Workflow file for this run

name: General checks
on:
push:
branches: [main, "release/*"]
pull_request:
branches: [main, "release/*"]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.head_ref }}
cancel-in-progress: ${{ ! (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/heads/release/')) }}
jobs:
check-precommit:
uses: Lightning-AI/utilities/.github/workflows/check-precommit.yml@main
check-typing:
uses: Lightning-AI/utilities/.github/workflows/check-typing.yml@main
with:
actions-ref: main
check-schema:
uses: Lightning-AI/utilities/.github/workflows/check-schema.yml@main
with:
azure-dir: ""
check-package:
uses: Lightning-AI/utilities/.github/workflows/check-package.yml@main
with:
actions-ref: main
import-name: "litai"
artifact-name: dist-packages-${{ github.sha }}
# TODO: enable windows-latest
testing-matrix: |
{
"os": ["ubuntu-latest", "macos-latest"],
"python-version": ["3.10", "3.11"]
}