Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

run MacOS regtests #663

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 13 additions & 2 deletions JenkinsfileRT
Original file line number Diff line number Diff line change
Expand Up @@ -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])
Expand Down
14 changes: 12 additions & 2 deletions JenkinsfileRT_dev
Original file line number Diff line number Diff line change
Expand Up @@ -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])
Expand Down