fix: skip test in ci that requires buffer
This commit is contained in:
parent
eff0c7c1df
commit
5a358fadde
1 changed files with 2 additions and 0 deletions
|
|
@ -1,4 +1,5 @@
|
||||||
import jax
|
import jax
|
||||||
|
import pytest
|
||||||
import os
|
import os
|
||||||
import mujoco
|
import mujoco
|
||||||
from PIL import Image
|
from PIL import Image
|
||||||
|
|
@ -6,6 +7,7 @@ from brittle_star_project.environment.env_config import EnvConfig, MorphologyCon
|
||||||
from brittle_star_project.environment.BrittleStarJaxEnvWrapper import BrittleStarJaxEnvWrapper
|
from brittle_star_project.environment.BrittleStarJaxEnvWrapper import BrittleStarJaxEnvWrapper
|
||||||
|
|
||||||
|
|
||||||
|
@pytest.mark.skipif(os.getenv("CI") == "true", reason="No OpenGL display in CI")
|
||||||
def test_render_morphologies():
|
def test_render_morphologies():
|
||||||
base_dir = "runs/renders"
|
base_dir = "runs/renders"
|
||||||
os.makedirs(base_dir, exist_ok=True)
|
os.makedirs(base_dir, exist_ok=True)
|
||||||
|
|
|
||||||
Reference in a new issue