Skip to content

Commit

Permalink
Add a pip list step after the overrides are injected
Browse files Browse the repository at this point in the history
Currently the pip freeze happens after the initial dependency
install, but before the OVERRIDE_REQUIREMENTS option
is handled by Jenkins. This makes it difficult to see if Jenkins
has successfully installed an overriden requirement for the
test run.
  • Loading branch information
WilliamJamieson committed Jun 5, 2023
1 parent 7a3a283 commit 300f0d2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions JenkinsfileRT
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,9 @@ bc0.build_cmds = [
'echo "CRDS_CONTEXT = $(crds list --contexts $CRDS_CONTEXT --mappings | grep pmap)"',
]
bc0.build_cmds = bc0.build_cmds + PipInject(env.OVERRIDE_REQUIREMENTS)
bc0.build_cmds = [
"pip list"
]
bc0.test_cmds = [
"pytest --cov-report=xml:coverage.xml --cov=./ -r sxf -n auto --bigdata --slow \
--ddtrace \
Expand Down
3 changes: 3 additions & 0 deletions JenkinsfileRT_dev
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,9 @@ bc0.build_cmds = [
'echo "CRDS_CONTEXT = $(crds list --contexts $CRDS_CONTEXT --mappings | grep pmap)"',
]
bc0.build_cmds = bc0.build_cmds + PipInject(env.OVERRIDE_REQUIREMENTS)
bc0.build_cmds = [
"pip list"
]
bc0.test_cmds = [
"pytest -r sxf -n auto --bigdata --slow \
--basetemp=${pytest_basetemp} --junit-xml=results.xml --dist=loadscope \
Expand Down

0 comments on commit 300f0d2

Please sign in to comment.