From a37f66b525353c68ffcfae8b5bdebff100af94f0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cem=20G=C3=B6kmen?= Date: Fri, 11 Oct 2024 14:53:02 -0700 Subject: [PATCH] Remove Python install in tests to avoid weird dependency issue --- .github/workflows/examples-as-test.yml | 18 ++++++++++++------ .github/workflows/profiling.yml | 16 ++++++++++++---- .github/workflows/tests.yml | 21 +++++++++++++++------ 3 files changed, 39 insertions(+), 16 deletions(-) diff --git a/.github/workflows/examples-as-test.yml b/.github/workflows/examples-as-test.yml index dba4f28cb..019a0a2f4 100644 --- a/.github/workflows/examples-as-test.yml +++ b/.github/workflows/examples-as-test.yml @@ -26,13 +26,19 @@ jobs: submodules: true path: omnigibson-src - - name: Install dev requirements - working-directory: omnigibson-src - run: pip install -r requirements-dev.txt + # These are temporarily disabled due to some errors they cause where some + # unknown important dependency has its version changed and Isaac Sim will + # no longer launch properly. The result is that if dependencies change, + # the tests will stop working. This is a temporary fix until we can figure + # out how to fix this issue. + + # - name: Install dev requirements + # working-directory: omnigibson-src + # run: pip install -r requirements-dev.txt - - name: Install - working-directory: omnigibson-src - run: pip install -e . + # - name: Install + # working-directory: omnigibson-src + # run: pip install -e . - name: Generate example tests working-directory: omnigibson-src diff --git a/.github/workflows/profiling.yml b/.github/workflows/profiling.yml index 0e7fe4295..b517c9d23 100644 --- a/.github/workflows/profiling.yml +++ b/.github/workflows/profiling.yml @@ -32,11 +32,19 @@ jobs: - name: Checkout source uses: actions/checkout@v3 - - name: Install dev requirements - run: pip install -r requirements-dev.txt + # These are temporarily disabled due to some errors they cause where some + # unknown important dependency has its version changed and Isaac Sim will + # no longer launch properly. The result is that if dependencies change, + # the tests will stop working. This is a temporary fix until we can figure + # out how to fix this issue. - - name: Install - run: pip install -e . + # - name: Install dev requirements + # working-directory: omnigibson-src + # run: pip install -r requirements-dev.txt + + # - name: Install + # working-directory: omnigibson-src + # run: pip install -e . - name: Run performance benchmark run: bash scripts/profiling.sh diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index df756f997..477cb5a01 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -49,13 +49,22 @@ jobs: submodules: true path: omnigibson-src - - name: Install dev requirements - working-directory: omnigibson-src - run: pip install -r requirements-dev.txt + # These are temporarily disabled due to some errors they cause where some + # unknown important dependency has its version changed and Isaac Sim will + # no longer launch properly. The result is that if dependencies change, + # the tests will stop working. This is a temporary fix until we can figure + # out how to fix this issue. - - name: Install - working-directory: omnigibson-src - run: pip install -e . + # - name: Install dev requirements + # working-directory: omnigibson-src + # run: pip install -r requirements-dev.txt + + # - name: Install + # working-directory: omnigibson-src + # run: pip install -e . + + - name: Print env + run: printenv - name: Run tests working-directory: omnigibson-src