From 4485a00e2a7597d457e627071377b94f4b071815 Mon Sep 17 00:00:00 2001 From: Matt Tancik Date: Mon, 11 Apr 2022 16:35:50 -0700 Subject: [PATCH] Update github action --- .github/workflows/pytest.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pytest.yml b/.github/workflows/pytest.yml index d86209067..59c83faa8 100644 --- a/.github/workflows/pytest.yml +++ b/.github/workflows/pytest.yml @@ -1,4 +1,4 @@ -name: Python application +name: Format Lint and Test on: push: @@ -25,6 +25,14 @@ jobs: python -m pip install --upgrade pip pip install -r environment/requirements.txt python setup.py develop + - name: Run Black + uses: psf/black@stable + with: + options: "--check --verbose --line-length=120" + - name: Python Pylint GitHub Action + uses: vcoder4c/git_pylint@v3 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Test with pytest run: | pytest tests