Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
fengzch-das
nunchaku
Commits
209f696f
Commit
209f696f
authored
Jul 27, 2025
by
Muyang Li
Browse files
chore: fix the test paths
parent
577bd8ea
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
.github/workflows/run_all_tests.py
.github/workflows/run_all_tests.py
+3
-1
No files found.
.github/workflows/run_all_tests.py
View file @
209f696f
...
@@ -3,7 +3,7 @@ from pathlib import Path
...
@@ -3,7 +3,7 @@ from pathlib import Path
def
run_all_tests
():
def
run_all_tests
():
test_dir
=
Path
(
__file__
).
parent
.
parent
/
"tests"
test_dir
=
Path
(
"tests"
)
test_files
=
[]
test_files
=
[]
for
file_path
in
test_dir
.
rglob
(
"test_*.py"
):
for
file_path
in
test_dir
.
rglob
(
"test_*.py"
):
# Ignore tests/flux/test_flux_examples.py
# Ignore tests/flux/test_flux_examples.py
...
@@ -27,6 +27,8 @@ def run_all_tests():
...
@@ -27,6 +27,8 @@ def run_all_tests():
failed_tests
.
append
(
test_file
)
failed_tests
.
append
(
test_file
)
else
:
else
:
print
(
f
"Test passed:
{
test_file
}
"
)
print
(
f
"Test passed:
{
test_file
}
"
)
if
len
(
failed_tests
)
>
3
:
break
if
failed_tests
:
if
failed_tests
:
print
(
"Some tests failed."
)
print
(
"Some tests failed."
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment