Skip to content

Fix inverted principal-axes rotation convention in USD inertia read/write #2153

Fix inverted principal-axes rotation convention in USD inertia read/write

Fix inverted principal-axes rotation convention in USD inertia read/write #2153

name: Test adam with conda-forge dependencies
on:
push:
pull_request:
schedule:
# * is a special character in YAML so you have to quote this string
# Execute a "nightly" build at 2 AM UTC
- cron: '0 2 * * *'
jobs:
build-with-conda-forge-dependencies:
name: '[conda-forge:${{ matrix.os }}]'
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
build_type: [Release]
os: [ubuntu-latest,macos-latest,windows-latest]
steps:
- uses: actions/checkout@v3
- name: Get current week
shell: bash -l {0}
id: week
run: echo "week=$(date +%Y-%U)" >> "${GITHUB_OUTPUT}"
- uses: mamba-org/setup-micromamba@v1
if: contains(matrix.os, 'ubuntu')
with:
environment-file: ci_env_linux.yml
cache-environment-key: environment-${{ steps.week.outputs.week }}-${{ matrix.os }}
- uses: mamba-org/setup-micromamba@v1
if: contains(matrix.os, 'macos')
with:
environment-file: ci_env_macos.yml
cache-environment-key: environment-${{ steps.week.outputs.week }}-${{ matrix.os }}
- uses: mamba-org/setup-micromamba@v1
if: contains(matrix.os, 'windows')
with:
environment-file: ci_env_win.yml
cache-environment-key: environment-${{ steps.week.outputs.week }}-${{ matrix.os }}
- name: Print packages and environment
shell: bash -l {0}
run: |
env
uname -r
micromamba list
- name: Install adam
shell: bash -l {0}
run: |
pip install --no-deps .
- name: Test with pytest [Ubuntu]
shell: bash -l {0}
if: contains(matrix.os, 'ubuntu')
run: |
pytest
- name: Test with pytest [macOS]
shell: bash -l {0}
if: contains(matrix.os, 'macos')
run: |
pytest --ignore=tests/test_usd.py --ignore=tests/test_usd_conversion.py
- name: Test with pytest [Windows]
shell: bash -l {0}
if: contains(matrix.os, 'windows')
run: |
# Skip additional dependencies not available on Windows
pytest -v --ignore-glob=*Jax* --ignore-glob=*pytorch*