From 574cc3ce1dafeba20d662582b5c368610253092b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cem=20G=C3=B6kmen?= Date: Fri, 11 Oct 2024 20:36:32 -0700 Subject: [PATCH] Update tests.yml --- .github/workflows/tests.yml | 24 +++++++++++------------- 1 file changed, 11 insertions(+), 13 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index a74b0964f..f8a719db2 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -49,29 +49,27 @@ jobs: submodules: true path: omnigibson-src - - name: Install dev requirements - working-directory: omnigibson-src - run: pip install -r requirements-dev.txt + # - 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: Print env run: printenv - - name: Setup tmate session - uses: mxschmitt/action-tmate@v3 - with: - limit-access-to-actor: true - - name: Run tests working-directory: omnigibson-src run: pytest -s tests/${{ matrix.test_file }}.py --junitxml=${{ matrix.test_file }}.xml && cp ${{ matrix.test_file }}.xml ${GITHUB_WORKSPACE}/ continue-on-error: true - - name: Print logs - run: cat /isaac-sim/kit/logs/Kit/Isaac-Sim/4.1/*.log + - name: Setup tmate session + if: ${{ failure() }} + uses: mxschmitt/action-tmate@v3 + with: + limit-access-to-actor: true - name: Deploy artifact uses: actions/upload-artifact@v3