Skip to content

Commit

Permalink
Update .github/workflows/format.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
kmyk committed Feb 21, 2021
1 parent 710c175 commit 1ee1e9b
Showing 1 changed file with 14 additions and 7 deletions.
21 changes: 14 additions & 7 deletions .github/workflows/format.yml
Expand Up @@ -17,10 +17,17 @@ jobs:
- name: Install dependencies
run: pip3 install .[dev]

- name: Run tests
run: |
oj -h
pylint --rcfile=setup.cfg onlinejudge_command tests setup.py
isort --check-only --diff onlinejudge_command tests setup.py
yapf --diff --recursive onlinejudge_command tests setup.py | tee yapf.patch && test ! -s yapf.patch
mypy onlinejudge_command tests setup.py
- name: Run --version
run: oj --version

- name: Run pylint
run: pylint --rcfile=setup.cfg onlinejudge_command tests setup.py

- name: Run isort
run: isort --check-only --diff onlinejudge_command tests setup.py

- name: Run yapf
run: yapf --diff --recursive onlinejudge_command tests setup.py

- name: Run mypy
run: mypy onlinejudge_command tests setup.py

0 comments on commit 1ee1e9b

Please sign in to comment.