mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-03-21 03:15:16 +00:00
Factor out the duplicate test step command
This commit is contained in:
parent
8e782aa33f
commit
d728c245f3
@ -73,7 +73,7 @@ jobs:
|
||||
|
||||
- run:
|
||||
name: "Run test suite"
|
||||
command: |
|
||||
command: &RUN_TESTS |
|
||||
# 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).
|
||||
@ -142,12 +142,4 @@ jobs:
|
||||
|
||||
- run:
|
||||
name: "Run test suite"
|
||||
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).
|
||||
#
|
||||
# Also run with /tmp as a workdir because the non-root user won't
|
||||
# be able to create the tox working filesystem state in the source
|
||||
# checkout because it is owned by root.
|
||||
sudo -u nobody /tmp/tests/bin/tox -c /tmp/project/tox.ini --workdir /tmp -e py27
|
||||
command: *RUN_TESTS
|
||||
|
Loading…
x
Reference in New Issue
Block a user