mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-03-21 03:15:16 +00:00
the env var has an unexpanded ~ in it
more trouble than it is worth
This commit is contained in:
parent
0abb7cf350
commit
02c5a72924
@ -62,24 +62,21 @@ jobs:
|
||||
- run: &BOOTSTRAP_TEST_ENVIRONMENT
|
||||
name: "Bootstrap test environment"
|
||||
command: |
|
||||
echo ${CIRCLE_WORKING_DIRECTORY}/.circleci/bootstrap-test-environment.sh
|
||||
ls ${CIRCLE_WORKING_DIRECTORY}/.circleci/
|
||||
ls ${CIRCLE_WORKING_DIRECTORY}/
|
||||
${CIRCLE_WORKING_DIRECTORY}/.circleci/bootstrap-test-environment.sh
|
||||
~/project/.circleci/bootstrap-test-environment.sh
|
||||
|
||||
- run: &SETUP_VIRTUALENV
|
||||
name: "Setup virtualenv"
|
||||
# pip cannot install packages if the working directory is not
|
||||
# readable.
|
||||
working_directory: "/tmp"
|
||||
command: "${CIRCLE_WORKING_DIRECTORY}/.circleci/setup-virtualenv.sh"
|
||||
command: "~/project/.circleci/setup-virtualenv.sh"
|
||||
|
||||
- run: &RUN_TESTS
|
||||
name: "Run test suite"
|
||||
# Something about when it re-uses an existing environment blows up
|
||||
# if the working directory is not readable.
|
||||
working_directory: "/tmp"
|
||||
command: "${CIRCLE_WORKING_DIRECTORY}/.circleci/setup-virtualenv.sh"
|
||||
command: "~/project/.circleci/setup-virtualenv.sh"
|
||||
|
||||
- store_artifacts: &STORE_TEST_LOG
|
||||
# Despite passing --workdir /tmp to tox above, it still runs trial
|
||||
@ -225,18 +222,15 @@ jobs:
|
||||
- run:
|
||||
<<: *BOOTSTRAP_TEST_ENVIRONMENT
|
||||
command: |
|
||||
echo ${CIRCLE_WORKING_DIRECTORY}/.circleci/bootstrap-test-environment.sh
|
||||
ls ${CIRCLE_WORKING_DIRECTORY}/
|
||||
ls ${CIRCLE_WORKING_DIRECTORY}/.circleci/
|
||||
sudo ${CIRCLE_WORKING_DIRECTORY}/.circleci/bootstrap-test-environment.sh
|
||||
sudo ~/project/.circleci/bootstrap-test-environment.sh
|
||||
|
||||
- run:
|
||||
<<: *SETUP_VIRTUALENV
|
||||
command: "sudo ${CIRCLE_WORKING_DIRECTORY}/.circleci/setup-virtualenv.sh"
|
||||
command: "sudo ~/project/.circleci/setup-virtualenv.sh"
|
||||
|
||||
- run:
|
||||
<<: *RUN_TESTS
|
||||
command: "sudo ${CIRCLE_WORKING_DIRECTORY}/.circleci/setup-virtualenv.sh"
|
||||
command: "sudo ~/project/.circleci/setup-virtualenv.sh"
|
||||
|
||||
- store_artifacts: *STORE_TEST_LOG
|
||||
- store_artifacts: *STORE_OTHER_ARTIFACTS
|
||||
|
Loading…
x
Reference in New Issue
Block a user