From 7021467048925d413e9fd132545491ee04ac603e Mon Sep 17 00:00:00 2001 From: Eugene Brodsky Date: Wed, 2 Aug 2023 19:46:02 -0400 Subject: [PATCH] (ci) do not install all dependencies when running static checks (#4036) Co-authored-by: psychedelicious <4822129+psychedelicious@users.noreply.github.com> --- .github/workflows/style-checks.yml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/workflows/style-checks.yml b/.github/workflows/style-checks.yml index 8aceb6469e..0bb19e95e5 100644 --- a/.github/workflows/style-checks.yml +++ b/.github/workflows/style-checks.yml @@ -1,13 +1,15 @@ -name: Black # TODO: add isort and flake8 later +name: style checks +# just formatting for now +# TODO: add isort and flake8 later on: - pull_request: {} + pull_request: push: - branches: master + branches: main tags: "*" jobs: - test: + black: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 @@ -19,8 +21,7 @@ jobs: - name: Install dependencies with pip run: | - pip install --upgrade pip wheel - pip install .[test] + pip install black # - run: isort --check-only . - run: black --check .