Skip to content

Updated README.

Updated README. #108

name: OEQ CUDA C++ Extension Build Verification
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
types: [ labeled ]
permissions:
contents: read
jobs:
verify_cuda_extension:
if: ${{ github.event.label.name == 'ci-ready' || github.event_name != 'pull_request' }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.10"
cache: 'pip'
cache-dependency-path: '**/requirements_cuda_ci.txt'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
sudo apt-get update
sudo apt install nvidia-cuda-toolkit
pip install -r .github/workflows/requirements_cuda_ci.txt
pip install -e ./openequivariance
- name: Test extension build via import
run: |
<<<<<<< HEAD

Check failure on line 36 in .github/workflows/verify_extension_build.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/verify_extension_build.yml

Invalid workflow file

You have an error in your yaml syntax on line 36
pytest tests/import_test.py -k test_import
- name: Test JAX extension build
run: |
pip install "jax[cuda12]"
pip install -e ./openequivariance[jax]
pip install -e ./openequivariance_extjax --no-build-isolation
=======
pytest \
tests/import_test.py::test_extension_built \
tests/import_test.py::test_torch_extension_built
>>>>>>> main