travis/run_pytest.bash
raw| 1 | #!/usr/bin/env bash |
| 2 | |
| 3 | # run_pytest.bash: Run pytest on cclib with coverage checking. Requires |
| 4 | # `pytest` and `pytest-cov`. |
| 5 | |
| 6 | set -euxo pipefail |
| 7 | |
| 8 | python -m pytest -v --capture=no --cov=cclib --cov-report=term --cov-report=html --terse test |
| 9 | pushd data |
| 10 | bash ./regression_download.sh |
| 11 | popd |
| 12 | python -m pytest -v --capture=no --cov=cclib --cov-report=term --cov-report=html --cov-append -k test_regression test/regression.py |