Skip to content

Commit

Permalink
fix(wokwi): Delete generated diagram to avoid issues running locally (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasssvaz authored Nov 5, 2024
1 parent 11f3cff commit b170e87
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/scripts/tests_run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,8 @@ function run_test() {
extra_args="--embedded-services esp,arduino"
fi

rm $sketchdir/diagram.json 2>/dev/null || true

result=0
printf "\033[95mpytest tests --build-dir $build_dir -k test_$sketchname --junit-xml=$report_file $extra_args\033[0m\n"
bash -c "set +e; pytest tests --build-dir $build_dir -k test_$sketchname --junit-xml=$report_file $extra_args; exit \$?" || result=$?
Expand Down

0 comments on commit b170e87

Please sign in to comment.