Skip to content

Show black diff

Show black diff #29

Workflow file for this run

name: Python CI
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.x
- name: Install dependencies
run: |
python -m pip install --upgrade pip
./setup.sh
- name: Run tests with coverage
run: pytest
- name: Check code style with black
run: black --diff --color . && black --check .