Skip to content

Commit b170e87

Browse files
authored
fix(wokwi): Delete generated diagram to avoid issues running locally (#10567)
1 parent 11f3cff commit b170e87

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/scripts/tests_run.sh

+2
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,8 @@ function run_test() {
125125
extra_args="--embedded-services esp,arduino"
126126
fi
127127

128+
rm $sketchdir/diagram.json 2>/dev/null || true
129+
128130
result=0
129131
printf "\033[95mpytest tests --build-dir $build_dir -k test_$sketchname --junit-xml=$report_file $extra_args\033[0m\n"
130132
bash -c "set +e; pytest tests --build-dir $build_dir -k test_$sketchname --junit-xml=$report_file $extra_args; exit \$?" || result=$?

0 commit comments

Comments
 (0)