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

Update regression tests configuration #231

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/python_testing.yml
Expand Up @@ -38,7 +38,7 @@ jobs:
fail-fast: false
matrix:
toxenv: [ test-xdist ]
python: [ '3.8', '3.9', '3.10', '3.11' ]
python: [ '3.9', '3.10', '3.11' ]
os: [ ubuntu-latest,macos-latest ]
include:
- toxenv: test-cov-xdist
Expand Down
3 changes: 1 addition & 2 deletions .readthedocs.yml
Expand Up @@ -14,10 +14,9 @@ build:

conda:
environment: docs/rtd_environment.yaml

# Set the Python requirements required to build your docs
python:
system_packages: false
install:
- method: pip
path: .
Expand Down
35 changes: 0 additions & 35 deletions Jenkinsfile

This file was deleted.

26 changes: 14 additions & 12 deletions JenkinsfileRT
Expand Up @@ -13,26 +13,28 @@ bc.nodetype = "linux"
bc.name = "release"
bc.env_vars = ['TEST_BIGDATA=https://bytesalad.stsci.edu/artifactory',
'lref=/grp/hst/cdbs/lref/']
bc.conda_channels = ['http://ssb.stsci.edu/astroconda']
bc.conda_packages = ['python=3.8']
// 'requests',
// 'numpy',
// 'stsci.tools']
bc.build_cmds = ["pip install ci-watson",
bc.conda_channels = ['http://conda.anaconda.org/conda-forge/']
bc.conda_packages = ['python=3.9']
bc.build_cmds = ["pip install codecov pytest-cov ci-watson",
"pip install -e .[test]"]
bc.test_cmds = ["pytest tests --basetemp=tests_output --junitxml results.xml --bigdata --slow -v"]
bc.failedUnstableThresh = 1
bc.failedFailureThresh = 6

// Astropy dev and Python 3.8 (astropy dev requires python >= 3.8)
// DEV dependencies
bc1 = utils.copy(bc)
bc1.name = "dev"
bc1.conda_packages[0] = "python=3.8"
bc1.build_cmds = ["pip install -e .[test]",
"pip install astropy>=0.0.dev0 --upgrade --no-deps",
"pip install pyyaml"]
bc1.conda_packages[0] = "python=3.10"
bc1.build_cmds[1] = "pip install -r requirements-dev.txt --upgrade -e '.[test]'"
//bc1.build_cmds = ["pip install -e .[test]",
// "pip install astropy>=0.0.dev0 --upgrade --no-deps",
// "pip install pyyaml"]

bc2 = utils.copy(bc)
bc2.name = '3.11'
bc2.conda_packages = ['python=3.11']

// Iterate over configurations that define the (distributed) build matrix.
// Spawn a host of the given nodetype for each combination and run in parallel.
// Also apply the job configuration defined in `jobconfig` above.
utils.run([bc, bc1, jobconfig])
utils.run([bc, bc1, bc2, jobconfig])
6 changes: 6 additions & 0 deletions requirements-dev.txt
@@ -0,0 +1,6 @@

--extra-index-url https://pypi.anaconda.org/astropy/simple astropy --pre

--extra-index-url https://pypi.anaconda.org/scientific-python-nightly-wheels/simple
numpy>=0.0.dev0
scipy>=0.0.dev0
2 changes: 1 addition & 1 deletion setup.cfg
@@ -1,5 +1,5 @@
[options]
python_requires = >=3.8
python_requires = >=3.9

[tool:pytest]
minversion = 3.0
Expand Down