1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
#!/usr/bin/env bash set -e section "script section" # Run pytest. if [[ "${REPORT_COVERAGE}" == 1 ]]; then pytest --cov=networkx --runslow --doctest-modules --pyargs networkx else pytest --doctest-modules --durations=10 --pyargs networkx fi section_end "script section" set +e