Skip to content

Commit b98748c

Browse files
authored
Merge pull request #112 from lsst/tickets/DM-36237
DM-36237: Pass through http proxy variables to tests.
2 parents 940f518 + 2a1998c commit b98748c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/build.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
shell: bash -l {0}
3535
run: |
3636
mamba install -y -q \
37-
flake8 \
37+
"flake8<5" \
3838
pytest pytest-flake8 pytest-xdist pytest-openfiles pytest-cov pytest-session2file
3939
4040
- name: List installed packages

python/lsst/sconsUtils/tests.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ def __init__(self, env, ignoreList=None, expectedFailures=None, args=None,
9494
"astropy due to lack of astropy directory within it")
9595

9696
# Forward some environment to the tests
97-
for envvar in ["PYTHONPATH", xdgCacheVar]:
97+
for envvar in ["PYTHONPATH", "HTTP_PROXY", "HTTPS_PROXY", xdgCacheVar]:
9898
if envvar in os.environ:
9999
env.AppendENVPath(envvar, os.environ[envvar])
100100

0 commit comments

Comments
 (0)