Skip to content

[DO NOT MERGE] Try to add RNN ops as composite ops #81

[DO NOT MERGE] Try to add RNN ops as composite ops

[DO NOT MERGE] Try to add RNN ops as composite ops #81

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@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
- name: Ensure uv
run: |
command -v uv >/dev/null 2>&1 || curl -LsSf https://astral.sh/uv/install.sh | sh
echo "$HOME/.local/bin" >> "$GITHUB_PATH"
- 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@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
- name: Ensure uv
run: |
command -v uv >/dev/null 2>&1 || curl -LsSf https://astral.sh/uv/install.sh | sh
echo "$HOME/.local/bin" >> "$GITHUB_PATH"
- run: uv run --extra test pytest tests/ -n auto -m "not slow and not dsl"