Skip to content

Fail fast when LitAPI.setup has error #1752

Fail fast when LitAPI.setup has error

Fail fast when LitAPI.setup has error #1752

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-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@v0.11.7
with:
azure-dir: ""
check-package:
uses: Lightning-AI/utilities/.github/workflows/check-package.yml@v0.11.7
with:
actions-ref: v0.11.7
import-name: "litserve"
artifact-name: dist-packages-${{ github.sha }}
testing-matrix: |
{
"os": ["ubuntu-latest", "macos-latest", "windows-latest"],
"python-version": ["3.10"],
}
# check-docs:
# uses: Lightning-AI/utilities/.github/workflows/check-docs.yml@v0.10.1
# with:
# requirements-file: "_requirements/docs.txt"