From b3837ef5698c5403dc741d56c93cb96ae6b79df4 Mon Sep 17 00:00:00 2001 From: Mike Lay Date: Wed, 31 Jan 2024 11:51:54 -0800 Subject: [PATCH] Lint formatting in CI --- .github/workflows/python-app.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/python-app.yml b/.github/workflows/python-app.yml index 89bfa7c7..afe17e0b 100644 --- a/.github/workflows/python-app.yml +++ b/.github/workflows/python-app.yml @@ -41,11 +41,13 @@ jobs: path: .venv key: pydeps-${{ hashFiles('**/poetry.lock') }} - - name: Install dependencies run: poetry install --no-interaction --no-root if: steps.cache-deps.outputs.cache-hit != 'true' + - name: Lint formatting + run: poetry run black --check . + - name: Test with pytest run: | source .venv/bin/activate