Skip to content

Black doc dir

Black doc dir #5

Workflow file for this run

name: Test
on:
push:
branches: [main]
pull_request:
branches: [main]
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
jobs:
build:
runs-on: ${{ matrix.platform }}
strategy:
fail-fast: false
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11"]
platform: [ubuntu-latest, windows-latest]
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
fetch-depth: 0
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install packages
run: |
pip install '.[test]'
- name: lint
run: |
black . --check --diff --color
- name: Run Tests
run: |
pytest tests