blob: 285bd8569e9a8f298d0eedda2f2c2c3807caf10e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#!/usr/bin/env bash
cd /data
pip3 install -r tests/unit_python/requirements.txt --upgrade
pip3 install .
if [ -d /data/dist ];
then
pip install /data/dist/*.tar.gz --upgrade
pip install /data/dist/*.whl --upgrade
fi
if [ -f /data/tests/unit_python/run_tests.sh ];
then
bash /data/tests/unit_python/run_tests.sh;
fi
cd /data/tests/unit_python
pytest --cov --cov-report term --cov-report html --cov-report xml .
|