Skip to content

Merge pull request #1 from bookwyrm-social/workflows #20

Merge pull request #1 from bookwyrm-social/workflows

Merge pull request #1 from bookwyrm-social/workflows #20

Workflow file for this run

name: Python Formatting (run tox -e black to fix)
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3.9
- name: Install Dependencies
run: |
python -m pip install --upgrade pip
pip install tox==4.11.3
- name: Run Black
run: |
tox -e black -- . --diff
tox -e black -- . --check