Skip to content

Commit

Permalink
Merge pull request #112 from lsst/tickets/DM-36237
Browse files Browse the repository at this point in the history
DM-36237: Pass through http proxy variables to tests.
  • Loading branch information
erykoff committed Sep 14, 2022
2 parents 940f518 + 2a1998c commit b98748c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
shell: bash -l {0}
run: |
mamba install -y -q \
flake8 \
"flake8<5" \
pytest pytest-flake8 pytest-xdist pytest-openfiles pytest-cov pytest-session2file
- name: List installed packages
Expand Down
2 changes: 1 addition & 1 deletion python/lsst/sconsUtils/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ def __init__(self, env, ignoreList=None, expectedFailures=None, args=None,
"astropy due to lack of astropy directory within it")

# Forward some environment to the tests
for envvar in ["PYTHONPATH", xdgCacheVar]:
for envvar in ["PYTHONPATH", "HTTP_PROXY", "HTTPS_PROXY", xdgCacheVar]:
if envvar in os.environ:
env.AppendENVPath(envvar, os.environ[envvar])

Expand Down

0 comments on commit b98748c

Please sign in to comment.