2016-08-17 19:07:27 +03:00
|
|
|
[tox]
|
|
|
|
skipsdist = true
|
2021-01-13 12:45:22 +03:00
|
|
|
envlist = smoke-tests, dennis-lint
|
2019-12-18 22:27:16 +03:00
|
|
|
|
2019-07-30 17:12:48 +03:00
|
|
|
[testenv:smoke-tests]
|
2019-08-01 21:27:00 +03:00
|
|
|
passenv = PYTEST_ADDOPTS
|
2019-12-18 22:27:16 +03:00
|
|
|
deps =
|
2019-08-01 21:27:00 +03:00
|
|
|
pytest>=5.0.1
|
|
|
|
pytest-base-url>=1.4.1
|
|
|
|
requests>=2.22.0
|
|
|
|
pytest-rerunfailures>=7.0
|
|
|
|
commands = pytest --base-url http://olympia.test --verify-base-url --reruns 1 tests/smoke/test_homepage.py {posargs}
|
2019-07-30 17:12:48 +03:00
|
|
|
|
2019-12-18 22:27:16 +03:00
|
|
|
|
2017-10-10 15:14:41 +03:00
|
|
|
[testenv:dennis-lint]
|
2022-12-09 13:31:42 +03:00
|
|
|
deps = dennis==1.1.0
|
2017-10-10 15:14:41 +03:00
|
|
|
# Run via `bash -c` to make sure the file globbing is properly resolved in the shell
|
|
|
|
commands =
|
2019-04-03 11:40:41 +03:00
|
|
|
bash -c 'dennis-cmd lint locale/*/LC_MESSAGES/*.po --rules W202'
|
2017-10-10 15:14:41 +03:00
|
|
|
bash -c 'dennis-cmd lint --errorsonly locale/*/LC_MESSAGES/*.po'
|
|
|
|
bash -c 'dennis-cmd lint --errorsonly locale/templates/LC_MESSAGES/*.pot'
|
2022-12-09 13:31:42 +03:00
|
|
|
allowlist_externals =
|
2017-10-10 15:14:41 +03:00
|
|
|
bash
|