Skip to content

Commit f3e6d37

Browse files
committed
Fix clean
1 parent f83f177 commit f3e6d37

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/scripts/tests_build.sh

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,11 @@ USAGE:
1111
"
1212

1313
function clean(){
14-
rm -rf tests/**/build*/
1514
rm -rf tests/.pytest_cache
16-
rm -rf tests/**/__pycache__/
17-
rm -rf tests/**/*.xml
15+
find tests/ -type d -name 'build*' -exec rm -rf "{}" \+
16+
find tests/ -type d -name '__pycache__' -exec rm -rf "{}" \+
17+
find tests/ -name '*.xml' -exec rm -rf "{}" \+
18+
find tests/ -name 'result_*.json' -exec rm -rf "{}" \+
1819
}
1920

2021
SCRIPTS_DIR="./.github/scripts"

0 commit comments

Comments
 (0)