Skip to content

Commit

Permalink
compile babel catalogs before running tox tests
Browse files Browse the repository at this point in the history
  • Loading branch information
azmeuk committed Sep 29, 2023
1 parent 4622dbc commit 5cc3ba6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ deps =
babel
email_validator
commands =
pybabel --quiet compile --directory {envsitepackagesdir}/wtforms/locale --domain wtforms --statistics
pytest --tb=short --basetemp={envtmpdir} {posargs}

[testenv:coverage]
Expand All @@ -20,6 +21,7 @@ deps =
email_validator
coverage
commands =
pybabel --quiet compile --directory {envsitepackagesdir}/wtforms/locale --domain wtforms --statistics
coverage erase
coverage run --parallel --module pytest --tb=short --basetemp={envtmpdir} {posargs}
coverage combine
Expand Down

0 comments on commit 5cc3ba6

Please sign in to comment.