Skip to content

Add GitHub Actions

Add GitHub Actions #5

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/setup-deps.yml
with:
python-version: ${{ matrix.python-version }}
- uses: ./actions/setup-theseus.yml
with:
python-version: ${{ matrix.python-version }}
with-baspacho: false
- 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"