Skip to content

Commit

Permalink
Update tests.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
cgokmen committed Oct 12, 2024
1 parent 3ba0531 commit 574cc3c
Showing 1 changed file with 11 additions and 13 deletions.
24 changes: 11 additions & 13 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 574cc3c

Please sign in to comment.