From afa321ae5f4d68464de96194749d93daf6a26183 Mon Sep 17 00:00:00 2001 From: Jean-Paul Calderone Date: Thu, 14 Jun 2018 12:32:18 -0400 Subject: [PATCH] Factor out more of the test suite run config --- .circleci/config.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 2ea582731..ca476a774 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -75,9 +75,9 @@ jobs: sudo -u nobody virtualenv --python python2.7 /tmp/tests sudo -u nobody /tmp/tests/bin/pip install tox - - run: + - run: &RUN_TESTS name: "Run test suite" - command: &RUN_TESTS | + command: | # Run the test suite as a non-root user. This is the expected # usage some small areas of the test suite assume non-root # privileges (such as unreadable files being unreadable). @@ -158,8 +158,7 @@ jobs: sudo -u nobody /tmp/tests/bin/pip install tox - run: - name: "Run test suite" - command: *RUN_TESTS + <<: *RUN_TESTS fedora-27: