mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-03-21 03:15:16 +00:00
Specify tox environment with an env var
This will make it easier to override.
This commit is contained in:
parent
e9cddda898
commit
7cd387bf5b
@ -38,6 +38,8 @@ jobs:
|
||||
# Tell the C runtime things about character encoding (mainly to do with
|
||||
# filenames and argv).
|
||||
- LANG: "en_US.UTF-8"
|
||||
# Select a tox environment to run for this job.
|
||||
- TAHOE_LAFS_TOX_ENVIRONMENT: "coverage"
|
||||
|
||||
steps:
|
||||
- run:
|
||||
@ -95,7 +97,7 @@ jobs:
|
||||
# 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 --set-home -u nobody /tmp/tests/bin/tox -c /tmp/project/tox.ini --workdir /tmp -e coverage
|
||||
sudo --set-home -u nobody /tmp/tests/bin/tox -c /tmp/project/tox.ini --workdir /tmp -e ${TAHOE_LAFS_TOX_ENVIRONMENT}
|
||||
|
||||
- store_artifacts: &STORE_ARTIFACTS
|
||||
# Despite passing --workdir /tmp to tox above, it still runs trial
|
||||
|
Loading…
x
Reference in New Issue
Block a user