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: Lucas Saavedra Vaz <32426024+lucasssvaz@users.noreply.github.com>
This commit is contained in:
parent
9065342f53
commit
3a7eda1ef0
8 changed files with 8 additions and 4 deletions
4
.github/scripts/tests_run.sh
vendored
4
.github/scripts/tests_run.sh
vendored
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
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
|
||||
|
|
|
|||
Loading…
Reference in a new issue