Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(ci) only install black when running static checks #4036

Merged
merged 3 commits into from
Aug 2, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading