Skip to content

Commit d9bd83f

Browse files
committed
enable pyi in ci
1 parent 3db4b33 commit d9bd83f

2 files changed

Lines changed: 25 additions & 25 deletions

File tree

.github/workflows/ci.yml

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -41,22 +41,22 @@ jobs:
4141
run: ruff check --output-format=github reflex_chakra
4242
- name: Run Ruff Formatter
4343
run: ruff format --check --diff reflex_chakra
44-
# check-pyi:
45-
# runs-on: ubuntu-latest
46-
# steps:
47-
# - uses: actions/checkout@v4
48-
# - name: Install UV
49-
# uses: astral-sh/setup-uv@v6
50-
# with:
51-
# python-version: "3.13"
52-
# enable-cache: true
53-
# activate-environment: true
54-
# - name: Install dependencies
55-
# run: uv sync
56-
# - name: Run PYI generation
57-
# run: python regenerate_pyi.py
58-
# - name: Check if there are any changes
59-
# run: git diff --exit-code -- "*.pyi" || (echo "PYI files have changed. Please commit the changes." && exit 1)
44+
check-pyi:
45+
runs-on: ubuntu-latest
46+
steps:
47+
- uses: actions/checkout@v4
48+
- name: Install UV
49+
uses: astral-sh/setup-uv@v6
50+
with:
51+
python-version: "3.13"
52+
enable-cache: true
53+
activate-environment: true
54+
- name: Install dependencies
55+
run: uv sync
56+
- name: Run PYI generation
57+
run: python regenerate_pyi.py
58+
- name: Check if there are any changes
59+
run: git diff --exit-code -- "*.pyi" || (echo "PYI files have changed. Please commit the changes." && exit 1)
6060
check-export:
6161
runs-on: ubuntu-latest
6262
steps:

uv.lock

Lines changed: 9 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)