Skip to content

Commit

Permalink
fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
hirosassa committed Sep 18, 2021
1 parent 319cb61 commit 412d830
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
push:
branches: [ master ]
pull_request:
branches: [ master ]


jobs:
formatting-check:
Expand All @@ -14,7 +14,9 @@ jobs:

steps:
- uses: actions/checkout@v2
- name: Install dependencies
run: |
pip install toml yapf
- name: run YAPF to test if python code is correctly formatted
uses: AlexanderMelde/yapf-action@master
with:
args: --verbose --style=yapf.ini
run: |
yapf --diff --recursive --verbose $GITHUB_WORKSPACE

0 comments on commit 412d830

Please sign in to comment.