summaryrefslogtreecommitdiff
path: root/tox.ini
Commit message (Collapse)AuthorAgeFilesLines
* Update TOX_CONSTRAINTS_FILE for stable/xenaOpenStack Release Bot2021-09-221-5/+5
| | | | | | | | | | | | Update the URL to the upper-constraints file to point to the redirect rule on releases.openstack.org so that anyone working on this branch will switch to the correct upper-constraints list automatically when the requirements repository branches. Until the requirements repository has as stable/xena branch, tests will continue to use the upper-constraints list on master. Change-Id: I355bf42941bd722b50a78be3e286e17e22d0f4ab
* Add lower-constraints job to current development branchRiccardo Pittau2021-07-301-0/+6
| | | | | | | | | | | | | | | The lower-constraints test was removed becuase of an issue where pip could not correctly determine the required packages versions to install, ending in an almost infinite loop that would end up in timeout, failure, and general mayhem. Recently the issue has been fixed and, if properly configured, the lower-constraints test can provide good indication of which minimum versions are required to support the current code. This patch adds the test back to the current development branch. The long term goal is to keep the lower-constraints file in the stable branches, but remove the test job to avoid issues during backports. Change-Id: I5fff32ec5dd1a045116bcf02349650b1f5e3a196
* Increase version of hacking and pycodestyleRiccardo Pittau2021-07-281-2/+2
| | | | | | Fix errors in unit tests Change-Id: Ib5a75fc5e5b6b5661d36e3a27796c3c02ed90056
* Update min version of tox to use allowlistRiccardo Pittau2021-05-181-4/+4
| | | | | | | | | The min version of tox is updated to 3.18.0 to replace whitelist_externals with allowist_externals option [1] [1] https://github.com/tox-dev/tox/blob/master/docs/changelog.rst#v3180-2020-07-23 Change-Id: Icf821d49d2543be2a37dffc686ae7ab4163b04cc
* Merge "Enforce autospec in test_console_utils"Zuul2021-03-171-3/+1
|\
| * Enforce autospec in test_console_utilsRiccardo Pittau2021-03-081-3/+1
| | | | | | | | | | | | Adjust unit tests and filters in tox.ini Change-Id: I05a3a1b37d0ce3cf33b3b5b9637350f0fd1f0afb
* | Merge "Enforce autospec in test_portgroup"Zuul2021-03-171-1/+0
|\ \ | |/
| * Enforce autospec in test_portgroupRiccardo Pittau2021-03-051-1/+0
| | | | | | | | | | | | Adapt unit tests and remove filter from tox.ini Change-Id: I9962afd71bb2a72374559dc1d07bba4137754eb0
* | Allocation support for project scoped RBACJulia Kreger2021-03-121-1/+1
|/ | | | | | | | Adds policy scope based RBAC handling for the allocations endpoing which enables admins to create allocations if they have baremetal nodes which are available to them. Change-Id: I60e273afaf344fded9bdb8c4c8e143efc9971fc1
* Enforce autospec in test_portRiccardo Pittau2021-03-041-1/+0
| | | | | | Remove filter from tox.ini Change-Id: Ic8990ac3cb2ddb6e243ce00918793fc96684fde0
* Enforce autospec in test_volume_connectorRiccardo Pittau2021-03-041-1/+0
| | | | | | Adjust unit tests and remove filter from tox.ini Change-Id: Ide7ac1a29f6e07842462d6e39fe797a309218884
* Enforce autospec in test_volume_targetRiccardo Pittau2021-03-031-1/+0
| | | | | | Adapt unit tests and remove filter from tox.ini Change-Id: I67fe1dd81ae7fe384c869e73d88182fcde402826
* Enforce autospec in test_driverRiccardo Pittau2021-02-231-1/+0
| | | | | | And remove filter from tox.ini Change-Id: I90efb9f309df46c9b0ef073e789e1f1aaa1b1a1c
* Enforce autospec in test_notification_utils moduleRiccardo Pittau2021-02-191-2/+0
| | | | | | And remove tox.ini filter Change-Id: I29257c805ce0afb01ae9422671d71d225f4b2573
* Enforce autospec in test_nodeRiccardo Pittau2021-02-191-1/+0
| | | | | | | | And remove filter from tox.ini Also sets noqa for 2 mocks to keep ignoring autospec. Change-Id: I0eadacf87baf68bc1c6547aac562f85edcad1aa3
* Merge "Report the slowest tests after a test run"Zuul2021-02-181-1/+1
|\
| * Report the slowest tests after a test runDmitry Tantsur2021-02-111-1/+1
| | | | | | | | Change-Id: Id9cf476f56f2f78b9e8adf6e736148e91916777d
* | Enforce autospec in test_chassisRiccardo Pittau2021-02-171-1/+0
|/ | | | | | And remove corresponding tox.ini filter Change-Id: Id52e736c73f491faf04d2691a1f2ef0441b94111
* Update minversion of toxRiccardo Pittau2021-01-211-1/+1
| | | | | | | | | The minimum version since when tox accepts having inline comments in deps is 3.9.0 https://tox.readthedocs.io/en/latest/changelog.html#v3-9-0-2019-04-17 Change-Id: I4d2aaf97459344ca01e5ccd6e563474c094a4678
* remove lower-constraints in toxlikui2020-12-171-6/+0
| | | | Change-Id: If798d35d47bbc13d2e6e751467d16848c44d2975
* Avoid a full install in tox environments that do not need itDmitry Tantsur2020-12-141-0/+6
| | | | | | | | | | | Usage of usedevelop=True results in all requirements.txt dependencies always installed (without constraints) even when requirements.txt is not explicitly added. Override usedevelop for these environments. Add requirements.txt to the 'docs' environment since it imports the whole ironic in the process. Change-Id: Ibab7d9cff1bd6eccc022873d1c5f59e27e54abaf
* Do not pin Python version in tox configRiccardo Pittau2020-12-141-1/+1
| | | | | | We want to use the default for each system. Change-Id: I80e411e11b3b1db990ff91a1cf90c662170dcab6
* Fix lower-constraints with the new pip resolverIury Gregory Melo Ferreira2020-12-111-1/+8
| | | | | | | | * move pep8 dependencies from test-requirements to tox.ini, they're not needed there and are hard to constraint properly. * add oslo.cache to l-c to avoid bump of dependencies Change-Id: Ia5330f3d5778ee62811da081c28a16965e512b55
* Enforce autospec in some api controllers modulesRiccardo Pittau2020-11-031-1/+0
| | | | | | | And modify corresponding filter in tox.ini for: v1/test_utils.py Change-Id: I48736c7281e7c2b4deed64d6763a5c633d9f27b0
* Merge "Enforce autospec in some api controllers modules"Zuul2020-11-031-1/+10
|\
| * Enforce autospec in some api controllers modulesRiccardo Pittau2020-11-021-1/+10
| | | | | | | | | | | | | | | | And modify corresponding filter in tox.ini for: test_base.py v1/test_allocation.py Change-Id: I02f1ee5093872ca8521646cf49bbae5744a386ff
* | Update TOX_CONSTRAINTS_FILElikui2020-11-031-5/+5
|/ | | | | | | | | | | UPPER_CONSTRAINTS_FILE is old name and deprecated -https://zuul-ci.org/docs/zuul-jobs/python-roles.html#rolevar-tox.tox_constraints_file This allows to use upper-constraints file as more readable way instead of UPPER_CONSTRAINTS_FILE=<lower-constraints file>. [1] https://review.opendev.org/#/c/722814/ Change-Id: I85c10d5969ed03e4f27b73a76eb9da5fffa3b485
* Remove install unnecessary packageswu.shiming2020-09-141-2/+0
| | | | | | | The docs and releasenotes requirements migrated to doc/requirements.txt we need not install things from requirements.txt. Change-Id: I2633cd68b45d27ef3c964216a7d97cd442919101
* Enforce autospec in ilo testsShivanand Tendulker2020-08-251-1/+0
| | | | | | And remove corresponding filter in tox.ini Change-Id: Ib47a5894d7b05346726c5b8ae8668dc8512cc322
* Enforce autospec in common testsRiccardo Pittau2020-08-241-1/+0
| | | | | | And remove corresponding filter in tox.ini Change-Id: I0664fec6477227f5fc3f91518a4e09f5a43be6d3
* Enforce autospec in irmc testsRiccardo Pittau2020-08-121-1/+0
| | | | | | And remove corresponding filter from tox.ini Change-Id: I33864a06c0436b85ec2ed7cc1b798b700b2bf3ab
* Enforce autospec in xclarity testsRiccardo Pittau2020-08-071-1/+0
| | | | | | And remove corresponding filter from tox.ini Change-Id: I2fcca0c697970264b711f90000087991bd6125ac
* Enforce autospec in test_cinderRiccardo Pittau2020-08-061-1/+0
| | | | | | And remove corresponding filter from tox.ini Change-Id: Ia8f608fbf2c6feffcf23da84ae91ccf3d6ea4baa
* Enforce autospec in test_iscsi_deployRiccardo Pittau2020-07-291-1/+0
| | | | | | And remove corresponding filter from tox.ini Change-Id: I726dce65b9306b5925bc0b0d8a1187c1c473125d
* Enforce autospec in some api testsRiccardo Pittau2020-07-241-1/+1
| | | | | | And remove corresping filters. Change-Id: Idb7fe3fc8b220f223d137eaced47a9ded13eba13
* Merge "Enforce autospec in test_notification_utils"Zuul2020-07-241-1/+0
|\
| * Enforce autospec in test_notification_utilsRiccardo Pittau2020-07-171-1/+0
| | | | | | | | | | | | And remove corresponding filter from tox.ini Change-Id: I4724a5efd522c313d2f6dbb14dcdf19700f8cda7
* | Merge "Enforce autospec in test_deployments"Zuul2020-07-241-1/+0
|\ \ | |/
| * Enforce autospec in test_deploymentsRiccardo Pittau2020-07-171-1/+0
| | | | | | | | | | | | And remove corresponding filter from tox.ini Change-Id: I5eae1cbed3abbb6316f67619c499f040f43d11b1
* | Set min version of tox to 3.2.1Riccardo Pittau2020-07-151-1/+1
|/ | | | | | | | | | | As recommended, since version 3.2.0 tox switches pip invocations to use the module -m pip instead of direct invocation. We set min version to 3.2.1 [1] to also fix the behavior of --parallel--safe-build [1] https://tox.readthedocs.io/en/latest/changelog.html#v3-2-1-2018-08-10 Change-Id: Ia7209934d30f6a55879319ab6ca94d8bf8886073
* Enforce autospec in test_task_managerRiccardo Pittau2020-07-071-1/+0
| | | | | | And remove corresponding filter from tox.ini Change-Id: I226e329151e0f71e793ade432c80a1628aa21511
* Enforce autospec in test_managerRiccardo Pittau2020-07-021-1/+0
| | | | | | And remove the corresponding H210 filter. Change-Id: Ib53af28596dc1392f68c956efc6d8750de611c13
* Enforce autospec in test_utilsRiccardo Pittau2020-06-241-1/+0
| | | | | | And remove the corresponding H210 filter. Change-Id: Iaec44cc66ba654e478381260044776fd838b7527
* Enforce autospec in test_flatRiccardo Pittau2020-06-241-1/+0
| | | | | | And remove the corresponding H210 filter. Change-Id: I3182d488c85f380bcdb42fa02c2e273dd0173533
* Enforce autospec in test_commonRiccardo Pittau2020-06-241-1/+0
| | | | | | And remove the corresponding H210 filter. Change-Id: I1d6e130cded0322ec08a3c1166744b802661c5ee
* Enforce autospec in test_neutronRiccardo Pittau2020-06-181-1/+2
| | | | | | And remove corresponding H210 filters. Change-Id: I03d8ad769ca369b42f53c8fbd9332659feccf647
* Enforce autospec in test_base_managerRiccardo Pittau2020-06-181-1/+0
| | | | | | And remove corresponding H210 filters. Change-Id: I252d55a2e51f3a2abbd52b94deeb0ee0f8b1fcbe
* Enforce autospec in test_rpc_api and test_stepsRiccardo Pittau2020-06-171-1/+6
| | | | | | And remove corresponding H210 filters. Change-Id: I73881f993c70a7e3c01d5d687fa4458065aa50d8
* Enforce autospec in test_snmpRiccardo Pittau2020-06-051-1/+0
| | | | | | And remove corresponding H210 filters. Change-Id: I376b2f06bce774ecf57a259acfea12e394069cef
* Enforce autospec in test_ipxe and test_pxeRiccardo Pittau2020-06-051-2/+0
| | | | | | And remove corresponding H210 filters. Change-Id: I074eac9088f4739f540b57d07fc487cb87194599