mirror of
https://github.com/facebookresearch/ReAgent.git
synced 2026-05-17 12:40:39 +00:00
d9bbcfafc2
Summary: Pull Request resolved: https://github.com/facebookresearch/ReAgent/pull/230 Reviewed By: kaiwenw Differential Revision: D21025113 Pulled By: kittipatv fbshipit-source-id: 9e7c5b514ea1c2ad72c7f6da53d71e2d8f1d5604
21 lines
405 B
Bash
Executable File
21 lines
405 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
|
|
|
|
set -ex
|
|
|
|
pip uninstall -y reagent
|
|
|
|
# Install the current directory into python path
|
|
pip install -e .
|
|
|
|
# Build RASP and run tests
|
|
mkdir -p serving/build
|
|
pushd serving/build
|
|
cmake -DCMAKE_PREFIX_PATH=$HOME/libtorch ..
|
|
make -j4
|
|
make test
|
|
popd
|
|
|
|
# Run workflow tests
|
|
pytest reagent/test/workflow/test_oss_workflows.py
|