12 Commits

Author SHA1 Message Date
Pierre Riteau
21836ddf90 Remove sphinx from test-requirements.txt
Documentation build environments use doc/requirements.txt where sphinx
is already present. Use doc/requirements.txt in the pep8 environment
because sphinx is required by sphinx8.

Change-Id: I3a2c9ae392745e001c5bdd01212c996e54c44f0c
2019-10-21 11:10:13 +02:00
Pierre Riteau
2863c73861 Move paramiko cap to test-requirements.txt
Change-Id: Ia7d069bc49037c9961bce2a7814fae5745ae8a91
2019-07-08 14:15:19 +00:00
jacky06
67a4d50288 Sync Sphinx requirement
1. Sync sphinx dependency with global requirements. It caps python 2 since
sphinx 2.0 no longer supports Python 2.7.
2. Update some URLs to latest
3. Remove unncessary "=="

Change-Id: Idcb616fd3add4d58f22b91865cec8a54fe492092
2019-06-25 02:24:45 +00:00
Mark Goddard
4d52ee0cdf Run yamllint on etc/kayobe during pep8 tox env
We run yamllint with the same configuration in kayobe-config, so we
should catch issues here before they are synchronised.

Change-Id: Ia2de07abc7c58040f99766adb950c477800ea56d
2019-02-14 12:17:19 +00:00
Mark Goddard
dbc1f26848 Follow the new PTI for document build
For compliance with the Project Testing Interface [1] as described in
[2].

[1]
https://governance.openstack.org/tc/reference/project-testing-interface.html
[2]
http://lists.openstack.org/pipermail/openstack-dev/2017-December/125710.html

Change-Id: I03d36b2545f69c4ca3ca1ced73d179e81b7b8811
2018-04-03 17:28:15 +01:00
Mark Goddard
048fd82bef Use stestr for running unit tests, add a coverage environment
stestr [1] is a fork of the testrunner python test runner.

Coverage tests can be run using 'tox -e cover'.

Adds a job for checking coverage to Zuul check and gate.

[1] http://stestr.readthedocs.io/en/latest/

Change-Id: I25cd407677a4013d022f87d124c6db43ab6bb2e0
Story: #2001637
Task: #6648
2018-03-08 16:37:08 +00:00
Mark Goddard
318f73cc52 Add a tox environment & dependencies for running molecule tests 2018-02-20 18:48:28 +00:00
Mark Goddard
6beb880486 Add bashate to pep8 tox environment 2018-02-06 11:54:12 +00:00
John Garbutt
c4e75cc5b0 Add ability to run ansible-lint
Hopefully it will help debug ansible 2.3 related issues.
2017-09-14 14:42:40 +01:00
Mark Goddard
454e888933 Add doc8 for documentation style checking, fix the one issue found 2017-04-06 10:19:45 +01:00
Mark Goddard
61f7f804cb Expand documentation and change to sphinx from MarkDown 2017-03-29 14:02:51 +01:00
Mark Goddard
baf17c8cff Add unit tests and style checks for Kayobe python module
Unit tests can be run via:

tox -e py27

Style checks can be run via:

tox -e pep8
2017-03-01 13:32:37 +00:00