Skip to content

Commit

Permalink
chore(tox): Pass environment variables
Browse files Browse the repository at this point in the history
  • Loading branch information
effigies committed Nov 21, 2024
1 parent 6965232 commit 8d78256
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,19 @@ labels = test
pip_pre =
pre: true
pass_env =
# Freesurfer variables searched for
FREESURFER_HOME
SUBJECTS_DIR
FS_LICENSE
# CI variables
TEST_DATA_HOME
TEST_OUTPUT_DIR
TEST_WORK_DIR
FMRIPREP_REGRESSION_SOURCE
CACHED_WORK_DIRECTORY
# CircleCI-specific
CIRCLE_NPROCS
SAVE_CIRCLE_ARTIFACTS
# getpass.getuser() sources for Windows:
LOGNAME
USER
Expand All @@ -42,6 +55,7 @@ pass_env =
extras = tests
setenv =
pre: PIP_EXTRA_INDEX_URL=https://pypi.anaconda.org/scientific-python-nightly-wheels/simple
pre: UV_EXTRA_INDEX_URL=https://pypi.anaconda.org/scientific-python-nightly-wheels/simple
uv_resolution =
min: lowest-direct

Expand Down Expand Up @@ -91,7 +105,6 @@ set_env =
# https://github.com/pypa/pip/issues/11684
# https://github.com/pypa/pip/issues/12243
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
commands_pre =
commands =
python -m build
python -m twine check dist/*
Expand Down

0 comments on commit 8d78256

Please sign in to comment.