Skip to content

Commit 6fbe5b4

Browse files
committed
test windows
1 parent f69545b commit 6fbe5b4

File tree

8 files changed

+94
-246
lines changed

8 files changed

+94
-246
lines changed

.github/workflows/ci.yml

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

33
on:
4-
push:
5-
branches:
6-
- '**'
7-
tags:
8-
- 'v[0-9]+.[0-9]+.[0-9]+'
9-
- 'v[0-9]+.[0-9]+.[0-9]+.dev[0-9]+'
10-
paths:
11-
- '.github/workflows/ci.yml'
12-
- '.github/scripts/**'
13-
- 'client/**'
14-
- 'sdk/python/packages/**'
15-
- 'sdk/python/templates/**'
16-
- 'packages/flet/**'
17-
- 'tools/crocodocs/**'
18-
- 'website/**'
19-
- '.fvmrc'
20-
pull_request:
21-
paths:
22-
- '.github/workflows/ci.yml'
23-
- '.github/scripts/**'
24-
- 'client/**'
25-
- 'sdk/python/packages/**'
26-
- 'sdk/python/templates/**'
27-
- 'packages/flet/**'
28-
- 'tools/crocodocs/**'
29-
- 'website/**'
30-
- '.fvmrc'
314
workflow_dispatch:
325

336
permissions:

.github/workflows/flet-build-test.yml

Lines changed: 2 additions & 82 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,15 @@ on:
1010
- 'client/**'
1111
- 'sdk/python/packages/**'
1212
- 'packages/flet/**'
13-
- 'sdk/python/examples/apps/flet_build_test'
13+
- 'sdk/python/examples/apps/flet_build_test/**'
1414
pull_request:
1515
paths:
1616
- '.github/workflows/flet-build-test.yml'
1717
- '.fvmrc'
1818
- 'client/**'
1919
- 'sdk/python/packages/**'
2020
- 'packages/flet/**'
21-
- 'sdk/python/examples/apps/flet_build_test'
21+
- 'sdk/python/examples/apps/flet_build_test/**'
2222
workflow_dispatch:
2323
inputs:
2424
extra_args:
@@ -70,86 +70,6 @@ jobs:
7070
artifact_path: build/windows
7171
needs_linux_deps: false
7272

73-
# -------- Android --------
74-
- name: aab-ubuntu
75-
runner: ubuntu-latest
76-
build_cmd: "flet build aab"
77-
artifact_name: aab-build-ubuntu-artifact
78-
artifact_path: build/aab
79-
needs_linux_deps: false
80-
81-
- name: aab-macos
82-
runner: macos-latest
83-
build_cmd: "flet build aab"
84-
artifact_name: aab-build-macos-artifact
85-
artifact_path: build/aab
86-
needs_linux_deps: false
87-
88-
- name: aab-windows
89-
runner: windows-latest
90-
build_cmd: "flet build aab"
91-
artifact_name: aab-build-windows-artifact
92-
artifact_path: build/aab
93-
needs_linux_deps: false
94-
95-
- name: apk-ubuntu
96-
runner: ubuntu-latest
97-
build_cmd: "flet build apk"
98-
artifact_name: apk-build-ubuntu-artifact
99-
artifact_path: build/apk
100-
needs_linux_deps: false
101-
102-
- name: apk-macos
103-
runner: macos-latest
104-
build_cmd: "flet build apk"
105-
artifact_name: apk-build-macos-artifact
106-
artifact_path: build/apk
107-
needs_linux_deps: false
108-
109-
- name: apk-windows
110-
runner: windows-latest
111-
build_cmd: "flet build apk"
112-
artifact_name: apk-build-windows-artifact
113-
artifact_path: build/apk
114-
needs_linux_deps: false
115-
116-
# -------- iOS --------
117-
- name: ipa
118-
runner: macos-latest
119-
build_cmd: "flet build ipa"
120-
artifact_name: ipa-build-artifact
121-
artifact_path: build/ipa
122-
needs_linux_deps: false
123-
124-
- name: ios-simulator
125-
runner: macos-latest
126-
build_cmd: "flet build ios-simulator"
127-
artifact_name: ios-simulator-build-artifact
128-
artifact_path: build/ios-simulator
129-
needs_linux_deps: false
130-
131-
# -------- Web --------
132-
- name: web-ubuntu
133-
runner: ubuntu-latest
134-
build_cmd: "flet build web"
135-
artifact_name: web-build-ubuntu-artifact
136-
artifact_path: build/web
137-
needs_linux_deps: false
138-
139-
- name: web-macos
140-
runner: macos-latest
141-
build_cmd: "flet build web"
142-
artifact_name: web-build-macos-artifact
143-
artifact_path: build/web
144-
needs_linux_deps: false
145-
146-
- name: web-windows
147-
runner: windows-latest
148-
build_cmd: "flet build web"
149-
artifact_name: web-build-windows-artifact
150-
artifact_path: build/web
151-
needs_linux_deps: false
152-
15373
steps:
15474
- name: Checkout repository
15575
uses: actions/checkout@v4

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

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,6 @@
11
name: macOS Integration Tests
22

33
on:
4-
push:
5-
branches-ignore:
6-
- main
7-
paths:
8-
- '.github/workflows/macos-integration-tests.yml'
9-
- 'sdk/python/packages/flet/src/**'
10-
- 'sdk/python/packages/flet/integration_tests/**'
11-
- 'packages/flet/**'
12-
- 'client/**'
13-
- '.fvmrc'
14-
pull_request:
15-
paths:
16-
- '.github/workflows/macos-integration-tests.yml'
17-
- 'sdk/python/packages/flet/src/**'
18-
- 'sdk/python/packages/flet/integration_tests/**'
19-
- 'packages/flet/**'
20-
- 'client/**'
21-
- '.fvmrc'
224
workflow_dispatch:
235

246
# Ensure only one run per branch (PR or push), cancel older ones

.github/workflows/release-pr-changelog.yml

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,11 @@
11
name: Release PR Changelog
22

33
on:
4-
pull_request:
5-
branches:
6-
- 'release/**'
7-
types:
8-
- opened
9-
- synchronize
10-
- reopened
11-
- edited
12-
- ready_for_review
4+
workflow_dispatch:
135

146
jobs:
157
changelog_record:
8+
if: ${{ github.event_name == 'pull_request' }}
169
name: Require changelog record
1710
runs-on: ubuntu-latest
1811
steps:
Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
11
# flet-build-test
22

3-
A minimal Flet app used to validate the [`flet build`](https://flet.dev/docs/cli/flet-build/) across platforms.
3+
A minimal Flet desktop app used to validate [`flet build`](https://flet.dev/docs/cli/flet-build/)
4+
and the `page.window.destroy()` close path.
5+
6+
## Test flow
7+
8+
1. Build or run the app on desktop.
9+
2. Close the window.
10+
3. Confirm exit in the dialog.
11+
4. The app should terminate without a long delay.

sdk/python/examples/apps/flet_build_test/pyproject.toml

Lines changed: 0 additions & 55 deletions
Original file line numberDiff line numberDiff line change
@@ -6,71 +6,22 @@ requires-python = ">=3.10"
66
authors = [{ name = "Appveyor Systems Inc.", email = "hello@flet.dev" }]
77

88
dependencies = [
9-
"numpy",
10-
"pillow",
119
"flet",
12-
"flet-ads",
13-
"flet-audio",
14-
"flet-audio-recorder",
15-
"flet-camera",
16-
"flet-charts",
17-
"flet-datatable2",
18-
"flet-flashlight",
19-
"flet-geolocator",
20-
"flet-lottie",
21-
"flet-map",
22-
"flet-permission-handler",
23-
"flet-rive",
24-
"flet-secure-storage",
25-
"flet-video",
26-
"flet-webview",
2710
]
2811

2912
[dependency-groups]
3013
dev = [
3114
"flet-cli",
3215
"flet-desktop",
33-
"flet-web",
3416
]
3517

3618
[tool.uv.sources]
3719
flet = { path = "../../../packages/flet", editable = true }
3820
flet-cli = { path = "../../../packages/flet-cli", editable = true }
3921
flet-desktop = { path = "../../../packages/flet-desktop", editable = true }
40-
flet-web = { path = "../../../packages/flet-web", editable = true }
41-
flet-ads = { path = "../../../packages/flet-ads", editable = true }
42-
flet-audio = { path = "../../../packages/flet-audio", editable = true }
43-
flet-audio-recorder = { path = "../../../packages/flet-audio-recorder", editable = true }
44-
flet-camera = { path = "../../../packages/flet-camera", editable = true }
45-
flet-charts = { path = "../../../packages/flet-charts", editable = true }
46-
flet-datatable2 = { path = "../../../packages/flet-datatable2", editable = true }
47-
flet-flashlight = { path = "../../../packages/flet-flashlight", editable = true }
48-
flet-geolocator = { path = "../../../packages/flet-geolocator", editable = true }
49-
flet-lottie = { path = "../../../packages/flet-lottie", editable = true }
50-
flet-map = { path = "../../../packages/flet-map", editable = true }
51-
flet-permission-handler = { path = "../../../packages/flet-permission-handler", editable = true }
52-
flet-rive = { path = "../../../packages/flet-rive", editable = true }
53-
flet-secure-storage = { path = "../../../packages/flet-secure-storage", editable = true }
54-
flet-video = { path = "../../../packages/flet-video", editable = true }
55-
flet-webview = { path = "../../../packages/flet-webview", editable = true }
5622

5723
[tool.flet.dev_packages]
5824
flet = "../../../packages/flet"
59-
flet-ads = "../../../packages/flet-ads"
60-
flet-audio = "../../../packages/flet-audio"
61-
flet-audio-recorder = "../../../packages/flet-audio-recorder"
62-
flet-camera = "../../../packages/flet-camera"
63-
flet-charts = "../../../packages/flet-charts"
64-
flet-datatable2 = "../../../packages/flet-datatable2"
65-
flet-flashlight = "../../../packages/flet-flashlight"
66-
flet-geolocator = "../../../packages/flet-geolocator"
67-
flet-lottie = "../../../packages/flet-lottie"
68-
flet-map = "../../../packages/flet-map"
69-
flet-permission-handler = "../../../packages/flet-permission-handler"
70-
flet-rive = "../../../packages/flet-rive"
71-
flet-secure-storage = "../../../packages/flet-secure-storage"
72-
flet-video = "../../../packages/flet-video"
73-
flet-webview = "../../../packages/flet-webview"
7425

7526
# Docs: https://flet.dev/docs/publish/
7627
[tool.flet]
@@ -85,11 +36,5 @@ build_number = 1
8536
[tool.flet.app]
8637
path = "src"
8738

88-
[tool.flet.android.meta_data]
89-
"com.google.android.gms.ads.APPLICATION_ID" = "ca-app-pub-3940256099942544~3347511713"
90-
91-
[tool.flet.ios.info]
92-
GADApplicationIdentifier = "ca-app-pub-3940256099942544~3347511713"
93-
9439
[tool.flet.flutter.pubspec.dependency_overrides]
9540
flet = { path = "../../../../../../../packages/flet" }

0 commit comments

Comments
 (0)