1
0
Fork 0
mirror of https://github.com/tensorflow/haskell.git synced 2024-11-30 06:49:44 +01:00
tensorflow-haskell/ci_build/outer_launch_tests.sh

12 lines
255 B
Bash
Raw Normal View History

#!/bin/bash
# Builds a test image and runs the tests inside.
set -eu -o pipefail
IMAGE_NAME=tensorflow/haskell/ci_build:v0
git submodule update
docker build -t $IMAGE_NAME -f ci_build/Dockerfile .
docker run $IMAGE_NAME stack build --pedantic --test