diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2f0b85b46..ffd0f162c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -3,7 +3,7 @@ name: CI on: push: pull_request: - # Run CI daily even without code changes to ensure tests pass with + # Run CI daily even without code changes to ensure tests pass with # updated dependencies. schedule: - cron: '0 0 * * 5' @@ -18,7 +18,28 @@ on: jobs: - build: + Format: + name: 🐍 Format + runs-on: ubuntu-latest + steps: + + - name: 🧰 Checkout + uses: actions/checkout@v2 + + - name: 🐍 Setup Python ${{ matrix.pyver }} + uses: actions/setup-python@v2 + with: + python-version: '3.10' + + - name: 🛠️ Install dependencies + run: | + python -m pip install -U pip + python -m pip install black + + - name: 🚦 Check code formatting standards + run: python -m black --check ./ + + Build: strategy: fail-fast: false matrix: