Refactor test workflow

Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
This commit is contained in:
Pol Henarejos
2023-10-09 17:45:49 +02:00
parent 2f177eb8df
commit 11a3472941
6 changed files with 41 additions and 39 deletions

View File

@@ -1,11 +1,5 @@
#!/bin/bash
rm -rf pypicohsm
git clone https://github.com/polhenarejos/pypicohsm.git
pip3 install -e pypicohsm
/usr/sbin/pcscd &
sleep 2
rm -f memory.flash
tar -xf tests/memory.tar.gz
./build_in_docker/pico_hsm > /dev/null 2>&1 &
source ./tests/startup.sh
pytest tests -W ignore::DeprecationWarning