Skip to content

Run formatting using 'python -m black' #70

Run formatting using 'python -m black'

Run formatting using 'python -m black' #70

Workflow file for this run

name: Test
on: [push, pull_request]
permissions:
contents: read
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: pip
cache-dependency-path: setup.py
- name: Install dependencies
run: |
pip install -e '.[lint,test]'
- name: Check code formatting
run: |
python -m black --check --diff .
- name: Run tests
run: |
python -m pytest