| 1 | #!/bin/bashscip-shell filesystem . . `/bin/bash`. |
| 2 | |
| 3 | set -euxo pipefail |
| 4 | |
| 5 | if testscip-shell system . . test. -f "/tmp/setup_proxy_test_env.shscip-shell filesystem . . `/tmp/setup_proxy_test_env.sh`."; then |
| 6 | source /tmp/setup_proxy_test_env.shscip-shell source . . `/tmp/setup_proxy_test_env.sh`. |
| 7 | fi |
| 8 | |
| 9 | envscip-shell system . . env. |
| 10 | |
| 11 | gitscip-shell system . . git. submodule update --init |
| 12 | |
| 13 | # build package |
| 14 | cd $CODEBUILD_SRC_DIR |
| 15 | |
| 16 | export AWS_TEST_S3=YES |
| 17 | python -m pip install --verbose ".[dev]" |
| 18 | python -m unittest discover --failfast --verbose 2>&1 | teescip-shell system . . tee. /tmp/tests.logscip-shell filesystem . . `/tmp/tests.log`. |