Skip to content

Commit

Permalink
code style in separate action
Browse files Browse the repository at this point in the history
  • Loading branch information
Jan Caha committed Mar 20, 2024
1 parent 6534728 commit 59f1842
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 6 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/code_style.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: Code Layout

on: push

jobs:
code_style_python:
name: Python code convention check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- uses: psf/black@stable
with:
options: "--check --verbose --diff"
6 changes: 0 additions & 6 deletions .github/workflows/tests_mergin_media_sync.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,3 @@ jobs:
- name: Run tests
run: |
pipenv run pytest test --cov=. --cov-report=term-missing:skip-covered -vv
# - name: Check files using the black formatter
# uses: rickstaa/action-black@v1
# id: action_black
# with:
# black_args: "."

0 comments on commit 59f1842

Please sign in to comment.