You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gpustack/hack/test.sh

21 lines
298 B

#!/usr/bin/env bash
set -o errexit
set -o nounset
set -o pipefail
ROOT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd -P)"
source "${ROOT_DIR}/hack/lib/init.sh"
function test() {
poetry run pytest
}
#
# main
#
gpustack::log::info "+++ TEST +++"
test
gpustack::log::info "--- TEST ---"