Skip to content

Commit

Permalink
CI: add reviewdog flake8
Browse files Browse the repository at this point in the history
  • Loading branch information
casperdcl committed Nov 18, 2020
1 parent 8fbf69c commit ed03cff
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,17 @@ jobs:
- name: Test
run: tox
env:
TOXENV: 'flake8,setup.py,nodeps'
TOXENV: 'setup.py,nodeps'
- name: Self install
run: pip install -U .
- uses: reviewdog/action-setup@v1
- name: flake8
run: |
pip install -U flake8
set -o pipefail
flake8 -j8 --count --statistics . | reviewdog -f=pep8 -name=Format -tee -reporter=github-check -filter-mode nofilter
env:
REVIEWDOG_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}
test:
if: github.event_name != 'pull_request' || github.head_ref != 'devel'
strategy:
Expand Down

0 comments on commit ed03cff

Please sign in to comment.