Skip to content

Commit 47b0fa4

Browse files
committed
chore(tox): Pass environment variables
1 parent b992bef commit 47b0fa4

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

tox.ini

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,20 @@ labels = test
2727
pip_pre =
2828
pre: true
2929
pass_env =
30+
TEMPLATEFLOW_HOME
31+
# Freesurfer variables searched for
32+
FREESURFER_HOME
33+
SUBJECTS_DIR
34+
FS_LICENSE
35+
# CI variables
36+
TEST_DATA_HOME
37+
TEST_OUTPUT_DIR
38+
TEST_WORK_DIR
39+
FMRIPREP_REGRESSION_SOURCE
40+
CACHED_WORK_DIRECTORY
41+
# CircleCI-specific
42+
CIRCLE_NPROCS
43+
SAVE_CIRCLE_ARTIFACTS
3044
# getpass.getuser() sources for Windows:
3145
LOGNAME
3246
USER
@@ -92,7 +106,6 @@ set_env =
92106
# https://github.com/pypa/pip/issues/11684
93107
# https://github.com/pypa/pip/issues/12243
94108
strict: PYTHONWARNINGS=error,once:pkg_resources is deprecated as an API.:DeprecationWarning:pip._internal.metadata.importlib._envs,once:Unimplemented abstract methods {'locate_file'}:DeprecationWarning:pip._internal.metadata.importlib._dists
95-
commands_pre =
96109
commands =
97110
python -m build
98111
python -m twine check dist/*

0 commit comments

Comments
 (0)