mirror of
https://github.com/facebookresearch/ReAgent.git
synced 2026-05-17 12:40:39 +00:00
fad30d7aff
Summary: Part of addressing https://github.com/facebookresearch/ReAgent/issues/185 Pull Request resolved: https://github.com/facebookresearch/ReAgent/pull/187 Reviewed By: kittipatv Differential Revision: D18597259 Pulled By: MisterTea fbshipit-source-id: 57953d0ba65f5f6a327adea13c96381f365bb04c
21 lines
403 B
Bash
Executable File
21 lines
403 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 ml/rl/test/workflow/test_oss_workflows.py
|