From 56c01a2944476c06eafe1f1535ec110c3b8156e3 Mon Sep 17 00:00:00 2001 From: Simon Alibert Date: Tue, 26 Nov 2024 10:35:10 +0100 Subject: [PATCH] Activate end-to-end tests --- .github/workflows/test.yml | 64 +++++++++++++++++++------------------- 1 file changed, 32 insertions(+), 32 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 02bd1c6e..e13d03c0 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -103,40 +103,40 @@ jobs: -W ignore::UserWarning:gymnasium.utils.env_checker:247 \ && rm -rf tests/outputs outputs - # TODO(aliberts, rcadene): redesign after v2 migration / removing hydra - # end-to-end: - # name: End-to-end - # runs-on: ubuntu-latest - # env: - # DATA_DIR: tests/data - # MUJOCO_GL: egl - # steps: - # - uses: actions/checkout@v4 - # with: - # lfs: true # Ensure LFS files are pulled + TODO(aliberts, rcadene): redesign after v2 migration / removing hydra + end-to-end: + name: End-to-end + runs-on: ubuntu-latest + env: + DATA_DIR: tests/data + MUJOCO_GL: egl + steps: + - uses: actions/checkout@v4 + with: + lfs: true # Ensure LFS files are pulled - # - name: Install apt dependencies - # # portaudio19-dev is needed to install pyaudio - # run: | - # sudo apt-get update && \ - # sudo apt-get install -y libegl1-mesa-dev portaudio19-dev + - name: Install apt dependencies + # portaudio19-dev is needed to install pyaudio + run: | + sudo apt-get update && \ + sudo apt-get install -y libegl1-mesa-dev portaudio19-dev - # - name: Install poetry - # run: | - # pipx install poetry && poetry config virtualenvs.in-project true - # echo "${{ github.workspace }}/.venv/bin" >> $GITHUB_PATH + - name: Install poetry + run: | + pipx install poetry && poetry config virtualenvs.in-project true + echo "${{ github.workspace }}/.venv/bin" >> $GITHUB_PATH - # - name: Set up Python 3.10 - # uses: actions/setup-python@v5 - # with: - # python-version: "3.10" - # cache: "poetry" + - name: Set up Python 3.10 + uses: actions/setup-python@v5 + with: + python-version: "3.10" + cache: "poetry" - # - name: Install poetry dependencies - # run: | - # poetry install --all-extras + - name: Install poetry dependencies + run: | + poetry install --all-extras - # - name: Test end-to-end - # run: | - # make test-end-to-end \ - # && rm -rf outputs + - name: Test end-to-end + run: | + make test-end-to-end \ + && rm -rf outputs