Skip to content

CI

CI #1

Workflow file for this run

name: CI
on:
pull_request:
branches: [main]
push:
branches: [main]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
lint:
if: github.repository == 'apple/coreai-torch'
runs-on: [self-hosted, macos, tahoe, ARM64]
timeout-minutes: 15
steps:
- uses: actions/checkout@v4
- uses: astral-sh/setup-uv@v4
- run: uv run --extra dev ruff check .
- run: uv run --extra dev ruff format --check .
python-test:
if: github.repository == 'apple/coreai-torch'
runs-on: [self-hosted, macos, tahoe, ARM64]
timeout-minutes: 60
steps:
- uses: actions/checkout@v4
- uses: astral-sh/setup-uv@v4
- run: uv run --extra test pytest tests/ -n auto -m "not slow"