From 1ac92cc7f6a409154a565ef37aefb6d26864cd77 Mon Sep 17 00:00:00 2001 From: Felipe Monteiro Date: Fri, 18 May 2018 08:41:02 -0400 Subject: [PATCH] [trivial] Rename tox job coverage to cover This patchset renames the tox.ini coverage job to cover to comply with OpenStack standards [0]. This is needed so that [1] works seamlessly (it will enable py35 and cover jobs for Armada). [0] e.g. https://github.com/openstack/nova/blob/04469a5181b82b09a43bfd401fde6ab13ff80160/tox.ini#L119 [1] I174d5df008f6e000da1a3878afe75919312ea7aa Change-Id: I353a60313bef2f8aa0319a4e89e659cd23c8a4a9 --- Makefile | 2 +- tox.ini | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index e75c4bb7..c92ca4a1 100644 --- a/Makefile +++ b/Makefile @@ -127,7 +127,7 @@ test-unit: check-tox .PHONY: test-coverage test-coverage: check-tox - tox -e coverage + tox -e cover .PHONY: test-bandit test-bandit: check-tox diff --git a/tox.ini b/tox.ini index c9dde653..0f8f526c 100644 --- a/tox.ini +++ b/tox.ini @@ -43,7 +43,7 @@ commands = commands = bandit -r armada -x armada/tests -n 5 -[testenv:coverage] +[testenv:cover] passenv=http_proxy https_proxy no_proxy HTTP_PROXY HTTPS_PROXY NO_PROXY setenv= VIRTUAL_ENV={envdir}