feat(ray): staged Ray scheduler-executor support (RayJobClient + RayExecutor + get_executor branch) #3326
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Lint and Format | |
| on: | |
| pull_request: | |
| branches: [ "main" ] | |
| # Allows you to run this workflow manually from the Actions tab | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| pre-commit: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| with: | |
| fetch-depth: 0 | |
| - name: Add Target Branch | |
| run: git branch ${GITHUB_BASE_REF} origin/${GITHUB_BASE_REF} | |
| - name: Set up Python 3.10 | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version: "3.10" | |
| cache: pip | |
| - name: Install dependencies | |
| run: | | |
| python -m pip install --upgrade pip uv | |
| # Use `uv pip` so [tool.uv].override-dependencies in pyproject.toml is honored | |
| # (relaxes leptonai's httpx==0.27.2 pin so litellm 1.83.x can be installed). | |
| uv pip install --system -e .[dev] | |
| - name: List Checked Files | |
| run: git diff --name-only ${GITHUB_BASE_REF} HEAD | |
| - name: Run Pre-Commit Checks | |
| run: pre-commit run --show-diff-on-failure --color=always --from-ref=${GITHUB_BASE_REF} --to-ref=HEAD |