Skip to content

auto test and doc

auto test and doc #11

Workflow file for this run

name: Core Tests.
on:
push:
branches: [main]
pull_request:
branches: [main]
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.8.12
uses: actions/setup-python@v4
with:
python-version: "3.8.12"
- name: Install dependencies
run: |
pip install black[jupyter]==22.3.0 pytest
pip install torch==2.0.0 --index-url https://download.pytorch.org/whl/cpu
BUILD_NO_CUDA=1 pip install .
- name: Run Black Format Check
run: black . diff_rast/ tests/ examples/ --check
- name: Run Tests.
run: pytest tests/