Unverified Commit 3a7eda1e authored by Jan Procházka's avatar Jan Procházka Committed by GitHub

ci(wokwi): Pass diagram.json file if exists to pytest (#9720)

* ci(wokwi): Pass diagram.json file if exists to pytest

* ci(wokwi): Rename diagrams to enable editing in Wokwi editor

* ci(tests): Use newest pytest version

---------
Co-authored-by: default avatarLucas Saavedra Vaz <32426024+lucasssvaz@users.noreply.github.com>
parent 9065342f
......@@ -69,6 +69,10 @@ function run_test() {
if [[ -f "$sketchdir/scenario.yaml" ]]; then
extra_args+=" --wokwi-scenario $sketchdir/scenario.yaml"
fi
if [[ -f "$sketchdir/diagram.$target.json" ]]; then
extra_args+=" --wokwi-diagram $sketchdir/diagram.$target.json"
fi
elif [ $platform == "qemu" ]; then
PATH=$HOME/qemu/bin:$PATH
extra_args="--embedded-services qemu --qemu-image-path $build_dir/$sketchname.ino.merged.bin"
......
cryptography==42.0.7
--only-binary cryptography
pytest-cov==5.0.0
pytest-embedded-serial-esp==1.10.2
pytest-embedded-arduino==1.10.2
pytest-embedded-wokwi==1.10.2
pytest-embedded-qemu==1.10.2
pytest-embedded-serial-esp==1.11.0
pytest-embedded-arduino==1.11.0
pytest-embedded-wokwi==1.11.0
pytest-embedded-qemu==1.11.0
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment