Skip to content

Commit 1dd4d8a

Browse files
committed
update docs ci
1 parent a962782 commit 1dd4d8a

4 files changed

Lines changed: 27 additions & 43 deletions

File tree

.github/workflows/ci.yml

Lines changed: 8 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,13 @@
11
name: Build & Publish
22

3-
#on:
4-
# push:
5-
# branches:
6-
# - '**'
7-
# tags:
8-
# - '*'
9-
# paths:
10-
# - '.github/workflows/ci.yml'
11-
# - '.github/scripts/**'
12-
# - 'client/**'
13-
# - 'sdk/python/packages/**'
14-
# - 'packages/flet/**'
15-
# - '.fvmrc'
16-
# pull_request:
17-
# paths:
18-
# - '.github/workflows/ci.yml'
19-
# - '.github/scripts/**'
20-
# - 'client/**'
21-
# - 'sdk/python/packages/**'
22-
# - 'packages/flet/**'
23-
# - '.fvmrc'
24-
# workflow_dispatch:
3+
on:
4+
push:
5+
paths:
6+
- '.fvmrc'
7+
pull_request:
8+
paths:
9+
- '.fvmrc'
10+
workflow_dispatch:
2511

2612
permissions:
2713
id-token: write

.github/workflows/docs.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,14 @@ jobs:
1616
uses: astral-sh/setup-uv@v6
1717

1818
- name: Build docs
19+
working-directory: sdk/python
1920
run: |
20-
cd sdk/python/packages/flet
21-
uv run --group docs mkdocs build -v
21+
uv sync --group docs -v
22+
uv pip install --no-deps --force-reinstall flet-web==0.1.0
23+
cd packages/flet
24+
uv run mkdocs build -v
25+
# run: |
26+
# cd sdk/python/packages/flet
27+
# uv sync --group docs -v
28+
# uv pip install -v --no-deps --force-reinstall flet-web>=0.70.0.dev0
29+
# uv run mkdocs build -v

.github/workflows/macos-integration-tests.yml

Lines changed: 8 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,13 @@
11
name: macOS Integration Tests
22

3-
#on:
4-
# push:
5-
# paths:
6-
# - '.github/workflows/macos-integration-tests.yml'
7-
# - 'sdk/python/packages/flet/src/**'
8-
# - 'sdk/python/packages/flet/integration_tests/**'
9-
# - 'packages/flet/**'
10-
# - 'client/**'
11-
# - '.fvmrc'
12-
# pull_request:
13-
# paths:
14-
# - '.github/workflows/macos-integration-tests.yml'
15-
# - 'sdk/python/packages/flet/src/**'
16-
# - 'sdk/python/packages/flet/integration_tests/**'
17-
# - 'packages/flet/**'
18-
# - 'client/**'
19-
# - '.fvmrc'
20-
# workflow_dispatch:
3+
on:
4+
push:
5+
paths:
6+
- '.fvmrc'
7+
pull_request:
8+
paths:
9+
- '.fvmrc'
10+
workflow_dispatch:
2111

2212
# Ensure only one run per branch (PR or push), cancel older ones
2313
concurrency:

sdk/python/packages/flet/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ docs = [
9090
"mkdocs-external-images",
9191
"mkdocs-macros-plugin>=1.5.0",
9292
"flet-cli",
93-
"flet-web>=0.70.0.dev0",
93+
"flet-web",
9494
{ include-group = 'extensions' },
9595
{ include-group = 'docs-coverage' },
9696
]

0 commit comments

Comments
 (0)