Add virtual smart card emulation for CD/CI.
On each push, the software is built in a container, run as a virtual smartcard and test it. Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
This commit is contained in:
7
tests/start-up-and-test.sh
Executable file
7
tests/start-up-and-test.sh
Executable file
@@ -0,0 +1,7 @@
|
||||
#!/bin/bash -eu
|
||||
|
||||
/usr/sbin/pcscd &
|
||||
sleep 2
|
||||
rm -rf memory.flash
|
||||
./build_in_docker/pico_openpgp > /dev/null &
|
||||
pytest tests -W ignore::DeprecationWarning
|
||||
Reference in New Issue
Block a user