Commit Graph

18 Commits

Author SHA1 Message Date
Ihar Hrachyshka 6884725e97 Remove unit test tox targets
There are no tests here.

Change-Id: I14ddfc7f0a0ba2dd0e35b81a37e9266598e22194
2024-02-16 17:21:57 -05:00
Ihar Hrachyshka c7ed02eb77 tox: use allowlist_externals
The old name was deprecated and eventually removed.

Change-Id: Ia9120c21edaf30fae3d3f8b89f57b2873956e254
2024-02-16 17:21:57 -05:00
Andreas Jaeger 93900d4749 Update hacking version
use latest version which is 2.0.0

Change-Id: Ic219242dc08af94ce14f1ac916855a3f8869d3af
2020-01-11 17:34:06 +01:00
Andreas Jaeger 80b6a27a2c Remove bindep
We don't need the bindep file anymore, all dependencies are default
packages that are installed by default.

Change-Id: I23982b97edc9db5a75d6dff1bfa8acec2de9dd8e
2020-01-11 17:30:00 +01:00
Andreas Jaeger 944a6187c7 Drop python 2
Remove python 2 support, use python3 as basepython in tox everywhere.

Change-Id: I487ad8a7e1c30b60917c33ccefc337caf218484b
2020-01-11 17:13:59 +01:00
Andreas Jaeger 21b755c2dc Update docs building
Switch to newer sphinx, update build instructions for it.

Remove oslosphinx, we use the default sphinx theme since oslosphinx does
not work with python3 and openstackdocstheme is only for OpenStack
projects.

Mark python 3.6 as latest python version.

Change-Id: I6aae0277d9e4943cc242e4ec868c949a14618ec7
2019-05-30 17:51:53 +02:00
huang.zhiping e68b3f4862 fix tox python3 overrides
We want to default to running all tox environments under python 3, so
set the basepython value in each environment.

We do not want to specify a minor version number, because we do not
want to have to update the file every time we upgrade python.

We do not want to set the override once in testenv, because that
breaks the more specific versions used in default environments like
py35 and py36.

Change-Id: Icfddc419e3afde053c1a05a41497a28ceafb1464
2018-06-09 00:59:32 +08:00
Dougal Matthews b9ad8b6dc3 Change the tox Python version to 3.5
Change-Id: Id3e1faec0fb59d28dce951d6e861cc4e3710b751
2018-05-31 14:25:41 +01:00
YAMAMOTO Takashi a0e45bf32a Fix "tox -e dashboards"
Change-Id: I996c6d68c7f34fdf573cc5550adc23bd50266cde
2017-04-26 15:24:59 +09:00
Andreas Jaeger 6cfbd38f0b List system dependencies for running common tests
Add an other-requirements.txt file containing a cross-platform list
of dependencies needed for running included tox-based tests. Also
include a tox environment for convenience calling the bindep[*]
utility to list any missing system requirements.

This change is self-testing.

For other-requirements.txt see also
http://docs.openstack.org/infra/manual/drivers.html#package-requirements

[*] http://docs.openstack.org/infra/bindep/

Change-Id: I1fda19c8867fee722bc9dff06f3c07fb6d4959b8
2016-06-29 09:22:46 +02:00
Ian Wienand 16fef44f00 Autobuild of dashboard overview plus various fixes
This adds a call in sphinx to automatically generate the dashboard
description pages.  It's a little bit of a hack, but works with "tox
-e docs" and the readthedocs build.  This means we don't have to have
an external job running a separate build of the dashboard overview
page.

A couple of other things to integrate this and make the docs more
usable; we use the readme as the main page, fix up the links, use
sections in the template and add a clickable link to the dashboard in
each overview page.

I'ved tested this with readthedocs which you can see at [1]

[1] http://gerrit-dash-creator-dashboards.readthedocs.org/en/latest/

Change-Id: I027a21a40a0e35817b8a29996a48393743b282b0
2016-03-22 14:08:45 +11:00
janonymous 18cb0f4cb2 py26/py33 are no longer supported by Infra's CI
Python 3.3/2.6 support would be dropped by
Infra team from mitaka,CI would no longer be testing it,
so projects should drop it also.

Change-Id: I326e0f1ec351865d468c4cf304a2b24b4f65825a
2015-12-26 13:55:54 +05:30
Christian Berendt ef286643f0 Add a script to generate a Sphinx dashboard documentation
Change-Id: I2bab3eed446b5d5350ca3ea1a5df559fcc2e48aa
2014-11-04 08:59:05 +01:00
Christian Berendt b7d0269c84 Remove call of 'python setup.py testr' in tox.ini
Because we do not have a .testr.conf configuration file the call of
python setup.py testr will fail.

---snip---
py27 runtests: commands[0] | python setup.py testr --slowest --testr-args=docs
running testr
No .testr.conf config file
error: testr failed (3)
---snap---

Change-Id: I0535bd86e102af7f1c39e4f55d9abf281e55af04
2014-10-07 10:13:20 +02:00
Jeremy Stanley c34a6edb62 Add py34 env to tox.ini
Python 3.4 is the default in Ubuntu Trusty and the OpenStack test
infrastructure is going to drop Python 3.3 testing in favor of that.
In an effort to make 3.4 test results more visible to developers who
run the default tox env list and happen to have 3.4 installed, add a
py34 env for it.

Change-Id: Id778c0f1513a1db7ad351186547b792b3b116c6e
2014-09-22 13:05:09 +00:00
Christian Berendt b7f0471b3e Make syntax checks of dashboard files possible
Change-Id: I587a06271c85a4f57f42041142d2aa20aea1a319
2014-09-01 09:17:36 +00:00
Christian Berendt 645208e155 Add doc8 to tox environment docs
Check .rst documents for common style issues.

Change-Id: I66a782355cc3a05b14f344459678d6a8330c0269
2014-08-15 16:49:06 +02:00
Christian Berendt b2b77d6cd1 Add support for Tox
Change-Id: I6974c78e15e34cbe1ce28b2f43525dd267b814e4
2014-08-08 06:01:13 +00:00