From 595a90b9de7ee2112d520a3922cba8c7dd7853f6 Mon Sep 17 00:00:00 2001 From: Hendrik Schneider Date: Fri, 29 Apr 2022 13:39:50 +0200 Subject: [PATCH] moved black to linting job --- .github/workflows/lint-and-test.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/lint-and-test.yml b/.github/workflows/lint-and-test.yml index 5da69db..3441012 100644 --- a/.github/workflows/lint-and-test.yml +++ b/.github/workflows/lint-and-test.yml @@ -22,6 +22,10 @@ jobs: # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics + - name: Lint with Black + run: | + black --check . + test: strategy: matrix: @@ -48,10 +52,6 @@ jobs: pip install coverage black if [ -f requirements.txt ]; then pip install -r requirements.txt; fi - - name: Lint with Black - run: | - black --check . - - name: Run tests run: | coverage3 run --source='./encrypted_fields' manage.py test