Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/unittest/linux/scripts/run_all.sh
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ if [ $EXIT_STATUS -ne 0 ]; then
echo "Some tests failed with exit status $EXIT_STATUS"
fi

coverage combine
coverage combine -q
coverage xml -i

# ==================================================================================== #
Expand Down
2 changes: 1 addition & 1 deletion .github/unittest/linux_distributed/scripts/run_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,5 @@ export BATCHED_PIPE_TIMEOUT=60
python .github/unittest/helpers/coverage_run_parallel.py -m pytest test/smoke_test.py -v --durations 200
python .github/unittest/helpers/coverage_run_parallel.py -m pytest test/smoke_test_deps.py -v --durations 200 -k 'test_gym or test_dm_control_pixels or test_dm_control or test_tb'
python .github/unittest/helpers/coverage_run_parallel.py -m pytest test/test_distributed.py --instafail -v --durations 200 --mp_fork_if_no_cuda
coverage combine
coverage combine -q
coverage xml -i
2 changes: 1 addition & 1 deletion .github/unittest/linux_libs/scripts_ataridqn/run_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,5 @@ lib_dir="${env_dir}/lib"
conda deactivate && conda activate ./env

python .github/unittest/helpers/coverage_run_parallel.py -m pytest test/test_libs.py --instafail -v --durations 200 --capture no -k TestAtariDQN --error-for-skips --runslow
coverage combine
coverage combine -q
coverage xml -i
2 changes: 1 addition & 1 deletion .github/unittest/linux_libs/scripts_brax/run_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -65,5 +65,5 @@ except Exception as e:
python -c 'import torch;t = torch.ones([2,2], device="cuda:0");print(t);print("tensor device:" + str(t.device))'

python .github/unittest/helpers/coverage_run_parallel.py -m pytest test/test_libs.py --instafail -v --durations 200 --capture no -k TestBrax --error-for-skips
coverage combine
coverage combine -q
coverage xml -i
2 changes: 1 addition & 1 deletion .github/unittest/linux_libs/scripts_chess/run_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,5 @@ python -c "import chess"

python .github/unittest/helpers/coverage_run_parallel.py -m pytest test/test_env.py --instafail -v --durations 200 --capture no -k TestChessEnv --error-for-skips --runslow

coverage combine
coverage combine -q
coverage xml -i
2 changes: 1 addition & 1 deletion .github/unittest/linux_libs/scripts_d4rl/run_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,5 +44,5 @@ import d4rl

printf "* Tests"
python .github/unittest/helpers/coverage_run_parallel.py -m pytest test/test_libs.py --instafail -v --durations 200 --capture no -k TestD4RL --error-for-skips --runslow
coverage combine
coverage combine -q
coverage xml -i
2 changes: 1 addition & 1 deletion .github/unittest/linux_libs/scripts_envpool/run_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,5 @@ export MKL_THREADING_LAYER=GNU
python -c "import envpool"

python .github/unittest/helpers/coverage_run_parallel.py -m pytest test/test_libs.py --instafail -v --durations 200 --capture no -k TestEnvPool --error-for-skips
coverage combine
coverage combine -q
coverage xml -i
2 changes: 1 addition & 1 deletion .github/unittest/linux_libs/scripts_gen-dgrl/run_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,5 @@ lib_dir="${env_dir}/lib"
conda deactivate && conda activate ./env

python .github/unittest/helpers/coverage_run_parallel.py -m pytest test/test_libs.py --instafail -v --durations 200 --capture no -k TestGenDGRL --error-for-skips --runslow
coverage combine
coverage combine -q
coverage xml -i
2 changes: 1 addition & 1 deletion .github/unittest/linux_libs/scripts_gym/run_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,5 @@ unset LD_PRELOAD
export DISPLAY=:99
Xvfb :99 -screen 0 1400x900x24 > /dev/null 2>&1 &
python .github/unittest/helpers/coverage_run_parallel.py -m pytest test/test_libs.py --instafail -v --durations 200 -k "gym and not isaac" --error-for-skips --mp_fork
coverage combine
coverage combine -q
coverage xml -i
2 changes: 1 addition & 1 deletion .github/unittest/linux_libs/scripts_habitat/run_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -53,5 +53,5 @@ env.reset()
"""

python .github/unittest/helpers/coverage_run_parallel.py -m pytest test/test_libs.py --instafail -v --durations 200 --capture no -k TestHabitat --error-for-skips
coverage combine
coverage combine -q
coverage xml -i
2 changes: 1 addition & 1 deletion .github/unittest/linux_libs/scripts_jumanji/run_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,5 @@ export MAGNUM_LOG=verbose MAGNUM_GPU_VALIDATION=ON
python -c "import jumanji"

python .github/unittest/helpers/coverage_run_parallel.py -m pytest test/test_libs.py --instafail -v --durations 200 --capture no -k TestJumanji --error-for-skips --runslow
coverage combine
coverage combine -q
coverage xml -i
2 changes: 1 addition & 1 deletion .github/unittest/linux_libs/scripts_meltingpot/run_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,5 @@ export MAGNUM_LOG=verbose MAGNUM_GPU_VALIDATION=ON
python -c "import meltingpot"

python .github/unittest/helpers/coverage_run_parallel.py -m pytest test/test_libs.py --instafail -v --durations 200 --capture no -k TestMeltingpot --error-for-skips
coverage combine
coverage combine -q
coverage xml -i
2 changes: 1 addition & 1 deletion .github/unittest/linux_libs/scripts_minari/run_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,5 @@ lib_dir="${env_dir}/lib"
python -c "import minari"

python .github/unittest/helpers/coverage_run_parallel.py -m pytest test/test_libs.py --instafail -v --durations 200 --capture no -k TestMinari --error-for-skips --runslow
coverage combine
coverage combine -q
coverage xml -i
2 changes: 1 addition & 1 deletion .github/unittest/linux_libs/scripts_open_spiel/run_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,5 @@ python -c "import pyspiel"

python .github/unittest/helpers/coverage_run_parallel.py -m pytest test/test_libs.py --instafail -v --durations 200 --capture no -k TestOpenSpiel --error-for-skips --runslow

coverage combine
coverage combine -q
coverage xml -i
2 changes: 1 addition & 1 deletion .github/unittest/linux_libs/scripts_openx/run_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,5 @@ lib_dir="${env_dir}/lib"
conda deactivate && conda activate ./env

python .github/unittest/helpers/coverage_run_parallel.py -m pytest test/test_libs.py --instafail -v --durations 200 --capture no -k TestOpenX --error-for-skips --runslow
coverage combine
coverage combine -q
coverage xml -i
2 changes: 1 addition & 1 deletion .github/unittest/linux_libs/scripts_pettingzoo/run_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,5 @@ export MAGNUM_LOG=verbose MAGNUM_GPU_VALIDATION=ON
python -c "import pettingzoo"

python .github/unittest/helpers/coverage_run_parallel.py -m pytest test/test_libs.py --instafail -v --durations 200 --capture no -k TestPettingZoo --error-for-skips
coverage combine
coverage combine -q
coverage xml -i
Original file line number Diff line number Diff line change
Expand Up @@ -94,5 +94,5 @@ echo $MUJOCO_GL
echo $sim_backend

sim_backend=MUJOCO MUJOCO_GL=egl python .github/unittest/helpers/coverage_run_parallel.py -m pytest test/test_libs.py --instafail -v --durations 20 -k "robohive" --error-for-skips
coverage combine
coverage combine -q
coverage xml -i
2 changes: 1 addition & 1 deletion .github/unittest/linux_libs/scripts_roboset/run_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,5 @@ lib_dir="${env_dir}/lib"
conda deactivate && conda activate ./env

python .github/unittest/helpers/coverage_run_parallel.py -m pytest test/test_libs.py --instafail -v --durations 200 --capture no -k TestRoboset --error-for-skips --runslow
coverage combine
coverage combine -q
coverage xml -i
2 changes: 1 addition & 1 deletion .github/unittest/linux_libs/scripts_sklearn/run_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,5 @@ conda deactivate && conda activate ./env
python -c "import sklearn, pandas"

python .github/unittest/helpers/coverage_run_parallel.py -m pytest test/test_libs.py --instafail -v --durations 200 --capture no -k TestOpenML --error-for-skips --runslow
coverage combine
coverage combine -q
coverage xml -i
2 changes: 1 addition & 1 deletion .github/unittest/linux_libs/scripts_smacv2/run_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,5 @@ export MAGNUM_LOG=verbose MAGNUM_GPU_VALIDATION=ON
python -c "import smacv2"

python .github/unittest/helpers/coverage_run_parallel.py -m pytest test/test_libs.py --instafail -v --durations 200 --capture no -k TestSmacv2 --error-for-skips
coverage combine
coverage combine -q
coverage xml -i
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,5 @@ python -c "import mlagents_envs"
python .github/unittest/helpers/coverage_run_parallel.py -m pytest test/test_libs.py --instafail -v --durations 200 --capture no -k TestUnityMLAgents --runslow
python .github/unittest/helpers/coverage_run_parallel.py -m pytest test/test_transforms.py --instafail -v --durations 200 --capture no -k test_transform_env[unity]

coverage combine
coverage combine -q
coverage xml -i
2 changes: 1 addition & 1 deletion .github/unittest/linux_libs/scripts_vd4rl/run_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,5 @@ lib_dir="${env_dir}/lib"
conda deactivate && conda activate ./env

python .github/unittest/helpers/coverage_run_parallel.py -m pytest test/test_libs.py --instafail -v --durations 200 --capture no -k TestVD4RL --error-for-skips --runslow
coverage combine
coverage combine -q
coverage xml -i
2 changes: 1 addition & 1 deletion .github/unittest/linux_libs/scripts_vmas/run_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,5 @@ export MAGNUM_LOG=verbose MAGNUM_GPU_VALIDATION=ON
python -c "import vmas"

python .github/unittest/helpers/coverage_run_parallel.py -m pytest test/test_libs.py --instafail -v --durations 200 --capture no -k TestVmas --error-for-skips
coverage combine
coverage combine -q
coverage xml -i
Original file line number Diff line number Diff line change
Expand Up @@ -39,5 +39,5 @@ CKPT_BACKEND=torch MUJOCO_GL=egl python .github/unittest/helpers/coverage_run_pa

#pytest --instafail -v --durations 200
#python test/test_libs.py
coverage combine
coverage combine -q
coverage xml -i
2 changes: 1 addition & 1 deletion .github/unittest/linux_optdeps/scripts/run_all.sh
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ python .github/unittest/helpers/coverage_run_parallel.py -m pytest test \
--ignore test/llm \
--timeout=120 --mp_fork_if_no_cuda

coverage combine
coverage combine -q
coverage xml -i

# ==================================================================================== #
Expand Down
2 changes: 1 addition & 1 deletion .github/unittest/linux_sota/scripts/run_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,5 @@ python .github/unittest/helpers/coverage_run_parallel.py -m pytest test/smoke_te

coverage run -m pytest .github/unittest/linux_sota/scripts/test_sota.py --instafail --durations 200 -vvv --capture no

coverage combine
coverage combine -q
coverage xml -i
Loading