Skip to content

Commit

Permalink
(ci) do not install all dependencies when running static checks
Browse files Browse the repository at this point in the history
  • Loading branch information
ebr committed Jul 28, 2023
1 parent 062a369 commit 8a55acf
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/style-checks.yml
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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 .
Expand Down

0 comments on commit 8a55acf

Please sign in to comment.