Skip to content

Commit

Permalink
Merge pull request #125 from acsone/imp_click_odoo_update_exclude_tes…
Browse files Browse the repository at this point in the history
…ts_tbi

[IMP] click-odoo-update: exclude tests from checksum
  • Loading branch information
sbidoul committed Aug 28, 2023
2 parents 01b3c49 + c3998c8 commit 96b0008
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion click_odoo_contrib/update.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@

PARAM_INSTALLED_CHECKSUMS = "module_auto_update.installed_checksums"
PARAM_EXCLUDE_PATTERNS = "module_auto_update.exclude_patterns"
DEFAULT_EXCLUDE_PATTERNS = "*.pyc,*.pyo,i18n/*.pot,i18n_extra/*.pot,static/*"
DEFAULT_EXCLUDE_PATTERNS = "*.pyc,*.pyo,i18n/*.pot,i18n_extra/*.pot,static/*,tests/*"


class DbLockWatcher(threading.Thread):
Expand Down
2 changes: 2 additions & 0 deletions newsfragments/125.feature
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
click-odoo-update: exclude tests/ directory from checksum computation
A modification in tests alone should not require a database upgrade.

0 comments on commit 96b0008

Please sign in to comment.