[WIP] Ensure contact happens within slicer volume before slicing #1885
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Tests | |
on: | |
pull_request: | |
push: | |
branches: | |
- og-develop | |
- main | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.head_ref || github.sha }} | |
cancel-in-progress: true | |
jobs: | |
test: | |
name: Run Tests | |
runs-on: [self-hosted, linux, gpu, dataset-enabled] | |
defaults: | |
run: | |
shell: micromamba run -n omnigibson /bin/bash -leo pipefail {0} | |
steps: | |
- name: Fix home | |
run: echo "HOME=/root" >> $GITHUB_ENV | |
- name: Checkout source | |
uses: actions/checkout@v2 | |
with: | |
submodules: true | |
path: omnigibson-src | |
- 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 tests | |
working-directory: omnigibson-src | |
run: pytest --junitxml=results.xml | |
- name: Test Report | |
uses: dorny/test-reporter@v1 | |
with: | |
name: Test Results | |
working-directory: omnigibson-src | |
path: results.xml | |
reporter: java-junit | |
fail-on-error: 'true' | |
fail-on-empty: 'true' | |
# - name: Upload coverage to Codecov | |
# uses: codecov/[email protected] | |
# with: | |
# token: ${{ secrets.CODECOV_TOKEN }} |