Skip to content

Commit

Permalink
Merge pull request #2450 from tegin/13.0-gh_actions-imp
Browse files Browse the repository at this point in the history
[FIX] flake8 test implementation
  • Loading branch information
pedrobaeza authored Nov 25, 2020
2 parents 5f9079a + ac983a4 commit 3cc9747
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/flake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,5 @@ jobs:
flake8 odoo/addons/openupgrade* --max-line-length=120 --exclude=__init__.py
# only flake8 migration scripts from the openupgrade project, presumably
# identifiable by using the openupgrade helpers
flake8 --max-line-length=120 scripts $(find . \( -name 'pre-*.py' -or -name 'post-*.py' \) -exec grep -q openupgrade {} \; -print)
flake8 odoo/addons/*/migrations/*/tests/ --max-line-length=120
flake8 --max-line-length=120 scripts $(find . \( -name 'pre-*.py' -or -name 'post-*.py' -or -name 'end-*.py' \) -exec grep -q openupgrade {} \; -print)
flake8 addons/*/migrations/*/tests/ --max-line-length=120

0 comments on commit 3cc9747

Please sign in to comment.