Skip to content

Commit

Permalink
early tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
paddymul committed Dec 28, 2024
1 parent 68af708 commit fcefd08
Showing 1 changed file with 15 additions and 12 deletions.
27 changes: 15 additions & 12 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
name: CI
# copied from anywidget, adpated to buckaroo

on:
push:
Expand Down Expand Up @@ -29,18 +30,20 @@ jobs:
uv run ruff check
uv run ruff format
TypecheckPython:
name: Python / Typecheck
runs-on: macos-14
steps:
- uses: actions/checkout@v4
# Disable jupyter-builder build hook because not needed for typechecking, and requires pnpm
- run: |
sed -i '' 's/\[tool.hatch.build.hooks.\(.*\)\]/\[_tool.hatch.build.hooks.\1\]/' pyproject.toml
- uses: astral-sh/setup-uv@v4
with:
version: "0.5.x"
- run: uv run mypy
# buckaroo isn't currently setup for mypy

# TypecheckPython:
# name: Python / Typecheck
# runs-on: macos-14
# steps:
# - uses: actions/checkout@v4
# # Disable jupyter-builder build hook because not needed for typechecking, and requires pnpm
# - run: |
# sed -i '' 's/\[tool.hatch.build.hooks.\(.*\)\]/\[_tool.hatch.build.hooks.\1\]/' pyproject.toml
# - uses: astral-sh/setup-uv@v4
# with:
# version: "0.5.x"
# - run: uv run mypy

TestPython:
name: Python / Test
Expand Down

0 comments on commit fcefd08

Please sign in to comment.