mirror of
https://github.com/lucaspalomodevelop/indico-plugins.git
synced 2026-03-13 07:29:39 +00:00
We need to run it from the correct folder containing pytest.ini in case the tests need certain indico plugins.
8 lines
140 B
Bash
8 lines
140 B
Bash
#!/bin/sh
|
|
|
|
for dir in $(find -name pytest.ini -exec dirname {} +); do
|
|
pushd "$dir" >/dev/null
|
|
py.test "$@"
|
|
popd >/dev/null
|
|
done
|