mirror of
https://github.com/lucaspalomodevelop/indico-plugins.git
synced 2026-03-13 07:29:39 +00:00
Add run-tests to run all unit tests
We need to run it from the correct folder containing pytest.ini in case the tests need certain indico plugins.
This commit is contained in:
parent
a2aa6f8c70
commit
ea0a03cfca
7
run-tests.sh
Normal file
7
run-tests.sh
Normal file
@ -0,0 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
for dir in $(find -name pytest.ini -exec dirname {} +); do
|
||||
pushd "$dir" >/dev/null
|
||||
py.test "$@"
|
||||
popd >/dev/null
|
||||
done
|
||||
Loading…
x
Reference in New Issue
Block a user