Skip to content

Commit 1519d54

Browse files
committed
chore(tox): Pass environment variables
1 parent 8951aea commit 1519d54

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,19 @@ labels = test
2727
pip_pre =
2828
pre: true
2929
pass_env =
30+
# Freesurfer variables searched for
31+
FREESURFER_HOME
32+
SUBJECTS_DIR
33+
FS_LICENSE
34+
# CI variables
35+
TEST_DATA_HOME
36+
TEST_OUTPUT_DIR
37+
TEST_WORK_DIR
38+
FMRIPREP_REGRESSION_SOURCE
39+
CACHED_WORK_DIRECTORY
40+
# CircleCI-specific
41+
CIRCLE_NPROCS
42+
SAVE_CIRCLE_ARTIFACTS
3043
# getpass.getuser() sources for Windows:
3144
LOGNAME
3245
USER
@@ -42,6 +55,7 @@ pass_env =
4255
extras = tests
4356
setenv =
4457
pre: PIP_EXTRA_INDEX_URL=https://pypi.anaconda.org/scientific-python-nightly-wheels/simple
58+
pre: UV_EXTRA_INDEX_URL=https://pypi.anaconda.org/scientific-python-nightly-wheels/simple
4559
uv_resolution =
4660
min: lowest-direct
4761

@@ -91,7 +105,6 @@ set_env =
91105
# https://github.com/pypa/pip/issues/11684
92106
# https://github.com/pypa/pip/issues/12243
93107
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
94-
commands_pre =
95108
commands =
96109
python -m build
97110
python -m twine check dist/*

0 commit comments

Comments
 (0)