13 lines
399 B
Bash
Executable File
13 lines
399 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# Fast, GPU-free release checks. Integration mocks are opt-in.
|
|
set -Eeuo pipefail
|
|
cd "$(dirname "${BASH_SOURCE[0]}")/.."
|
|
python3 platform/scripts/sync-profile-matrix.py --check
|
|
python3 -m unittest discover -s dev -p 'test_*.py'
|
|
if [[ ${1:-} == --integration ]]; then
|
|
bash dev/test_local.sh
|
|
elif [[ $# -gt 0 ]]; then
|
|
echo 'Usage: dev/check.sh [--integration]' >&2
|
|
exit 2
|
|
fi
|