Skip to content

auto test and doc

auto test and doc #7

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
- name: Run Black Format Check
run: black . diff_rast/ tests/ examples/ --check
- name: Run Tests.
run: pytest tests/