Fix flakey windows tests (#2332)

This commit is contained in:
Evan Almloff authored and GitHub committed 2024-04-17 15:08:38 -07:00
1 parent c9ab09b348
commit 5ce91e1bfc
31 files changed
+217 -136

No files matched your search

+12 -3
View File
@@ -88,7 +88,7 @@ command = "cargo"
args = ["build"]
[tasks.test-flow]
dependencies = ["test"]
dependencies = ["test", "docs"]
private = true
[tasks.test]
@@ -101,8 +101,7 @@ args = [
"--tests",
"--examples",
"--workspace",
"--exclude",
"dioxus-router",
# These tests run on Ubuntu without a screen. Desktop tests that require a screen fail, so we skip them
"--exclude",
"dioxus-desktop",
"--exclude",
@@ -110,6 +109,16 @@ args = [
]
private = true
[tasks.docs]
dependencies = ["build"]
command = "cargo"
args = [
"test",
"--doc",
"--workspace",
]
private = true
[tasks.test-with-browser]
env = { CARGO_MAKE_WORKSPACE_INCLUDE_MEMBERS = [
"**/packages/router",