Skip to content

Add GitHub Actions

Add GitHub Actions #8

Workflow file for this run

name: pytests
on:
pull_request:
branches:
- main
jobs:
test_lie_groups:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.8, 3.9, 3.10.15]
steps:
- uses: actions/[email protected]
- name: Set up Python ${{ matrix.python-version }}
uses: actions/[email protected]
with:
python-version: ${{ matrix.python-version }}
- uses: ./actions/setup-deps/action.yml
with:
python-version: ${{ matrix.python-version }}
- uses: ./actions/install-theseus.yml
with:
python-version: ${{ matrix.python-version }}
- name: Run Lie groups tests
run: |
export PATH=~/conda/bin:$PATH
source activate theseus
python -m pytest tests/theseus_tests/geometry -m "not cudaext"
python -m pytest tests/torchlie_tests -m "not cudaext"