diff --git a/JenkinsfileRT b/JenkinsfileRT index 69439ce44..aab746eee 100644 --- a/JenkinsfileRT +++ b/JenkinsfileRT @@ -106,9 +106,20 @@ bc0.failedFailureThresh = 0 bc1 = utils.copy(bc0) bc1.nodetype = 'macos' bc1.name = 'macos-stable-deps' -bc1.build_cmds = ["pip install -e ."] +bc1.build_cmds = [ + "pip install -e .[test,ephem]", + "pip install pytest-xdist pytest-sugar ddtrace", + "pip freeze", + 'echo "CRDS_CONTEXT = $(crds list --contexts $CRDS_CONTEXT --mappings | grep pmap)"', +] bc1.build_cmds = PipInject(env.OVERRIDE_REQUIREMENTS) + bc1.build_cmds -bc1.test_cmds = [] +bc1.test_cmds = [ + "pytest --cov-report=xml --cov=./ -r sxf -n auto --bigdata --slow \ + --ddtrace \ + --basetemp=${pytest_basetemp} --junit-xml=results.xml --dist=loadscope \ + --env=${artifactoryenv} ${pytest_args}", + 'codecov --token=${codecov_token} -F nightly', +] bc1.test_configs = [] utils.run([jobconfig, bc0, bc1]) diff --git a/JenkinsfileRT_dev b/JenkinsfileRT_dev index 8c58db7d4..217f65524 100644 --- a/JenkinsfileRT_dev +++ b/JenkinsfileRT_dev @@ -102,9 +102,19 @@ bc0.failedFailureThresh = 0 bc1 = utils.copy(bc0) bc1.nodetype = 'macos' bc1.name = 'macos-unstable-deps' -bc1.build_cmds = ["pip install -e ."] +bc1.pip_reqs_files = ['requirements-dev.txt'] +bc1.build_cmds = [ + "pip install -e .[test,ephem]", + "pip install pytest-xdist pytest-sugar", + "pip freeze", + 'echo "CRDS_CONTEXT = $(crds list --contexts $CRDS_CONTEXT --mappings | grep pmap)"', +] bc1.build_cmds = PipInject(env.OVERRIDE_REQUIREMENTS) + bc1.build_cmds -bc1.test_cmds = [] +bc1.test_cmds = [ + "pytest -r sxf -n auto --bigdata --slow \ + --basetemp=${pytest_basetemp} --junit-xml=results.xml --dist=loadscope \ + --env=${artifactoryenv} ${pytest_args}", +] bc1.test_configs = [] utils.run([jobconfig, bc0, bc1])