Skip to content

Commit

Permalink
test example
Browse files Browse the repository at this point in the history
  • Loading branch information
rical730 committed Apr 19, 2024
1 parent 83a934c commit 0772166
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/unittest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ jobs:
sudo apt-get install -y cmake
sudo apt-get install -y libgflags-dev libunwind-dev libgoogle-glog-dev libomp-dev unzip
sudo apt-get install -y libgtest-dev && cd /usr/src/gtest && sudo mkdir build && cd build && sudo cmake ..
sudo make && sudo cp /usr/src/googletest/googletest/build/lib/libgtest*.a . && sudo cp libgtest*.a /usr/local/lib
ls -al /usr/src/googletest/googletest/build/lib/ && ls *
sudo make && ls -l lib && sudo cp lib/libgtest*.a /usr/local/lib
md5sum/usr/src/googletest/googletest/build/lib/*.a && md5sum lib/*.a
- name: Run Paddle tests
run: |
Expand Down
6 changes: 3 additions & 3 deletions .teamcity/action_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,9 @@ function run_example_test {
# # python examples/DQN_variant/train.py --train_total_steps 200 --warmup_size 100 --test_every_steps 50 --dueling True --env PongNoFrameskip-v4
# # python -m pip uninstall -r ./examples/DQN_variant/requirements.txt -y

python -m pip install -r ./examples/PPO/requirements_atari.txt
python examples/PPO/train.py --train_total_steps 5000 --env PongNoFrameskip-v4
python -m pip uninstall -r ./examples/PPO/requirements_atari.txt -y
# # python -m pip install -r ./examples/PPO/requirements_atari.txt
# # python examples/PPO/train.py --train_total_steps 5000 --env PongNoFrameskip-v4
# # python -m pip uninstall -r ./examples/PPO/requirements_atari.txt -y

python -m pip install -r ./examples/PPO/requirements_mujoco.txt
python examples/PPO/train.py --train_total_steps 5000 --env HalfCheetah-v4 --continuous_action
Expand Down

0 comments on commit 0772166

Please sign in to comment.