Skip to content

Commit

Permalink
wip(numpy_2): Let stdout be handled by pytest.
Browse files Browse the repository at this point in the history
  • Loading branch information
teald committed Jan 17, 2025
1 parent 6c349f4 commit 1ef2e53
Showing 1 changed file with 12 additions and 11 deletions.
23 changes: 12 additions & 11 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -77,18 +77,19 @@ commands =
pip install wheel
pip install --no-use-pep517 git+https://github.com/GeminiDRSoftware/AstroFaker#egg=AstroFaker
conda list
echo $NPY_PROMOTION_STATE
noop: python -c "pass" # just install deps & ensure python runs
unit: python -m coverage run --rcfile={toxinidir}/.coveragerc -m pytest -xvvs --dragons-remote-data --durations=20 -m "not integration_test and not gmos and not gmosls and not gmosimage and not f2 and not f2ls and not f2image and not gsaoi and not niri and not nirils and not niriimage and not gnirs and not gnirsls and not gnirsimage and not gnirsxd and not wavecal and not regression and not slow and not ghost and not ghostbundle and not ghostslit and not ghostspect" {posargs:astrodata geminidr gemini_instruments gempy recipe_system}
gmos: python -m coverage run --rcfile={toxinidir}/.coveragerc -m pytest -xvvs --dragons-remote-data --durations=20 -m "(gmos or gmosimage) and not slow and not wavecal" {posargs:astrodata geminidr gemini_instruments gempy recipe_system}
gmosls: python -m coverage run --rcfile={toxinidir}/.coveragerc -m pytest -xvvs --dragons-remote-data --durations=20 -m "gmosls and not slow and not wavecal" {posargs:astrodata geminidr gemini_instruments gempy recipe_system}
wavecal: python -m coverage run --rcfile={toxinidir}/.coveragerc -m pytest -xvvs --dragons-remote-data --durations=20 -m "wavecal" {posargs:astrodata geminidr gemini_instruments gempy recipe_system}
f2: python -m coverage run --rcfile={toxinidir}/.coveragerc -m pytest -xvvs --dragons-remote-data --durations=20 -m "(f2 or f2ls or f2image) and not slow and not wavecal" {posargs:astrodata geminidr gemini_instruments gempy recipe_system}
gsaoi: python -m coverage run --rcfile={toxinidir}/.coveragerc -m pytest -xvvs --dragons-remote-data --durations=20 -m "gsaoi and not slow" {posargs:astrodata geminidr gemini_instruments gempy recipe_system}
niri: python -m coverage run --rcfile={toxinidir}/.coveragerc -m pytest -xvvs --dragons-remote-data --durations=20 -m "(niri or nirils or niriimage) and not slow and not wavecal" {posargs:astrodata geminidr gemini_instruments gempy recipe_system}
gnirs: python -m coverage run --rcfile={toxinidir}/.coveragerc -m pytest -xvvs --dragons-remote-data --durations=20 -m "(gnirs or gnirsls or gnirsimage or gnirsxd) and not slow and not wavecal" {posargs:astrodata geminidr gemini_instruments gempy recipe_system}
ghost: python -m coverage run --rcfile={toxinidir}/.coveragerc -m pytest -xvvs --dragons-remote-data --durations=20 -m "(ghost or ghostbundle or ghostslit or ghostspect) and not slow" {posargs:astrodata geminidr gemini_instruments gempy recipe_system}
reg: python -m coverage run --rcfile={toxinidir}/.coveragerc -m pytest -xvvs --dragons-remote-data --durations=20 -m "regression and not slow and not wavecal" {posargs:astrodata geminidr gemini_instruments gempy recipe_system}
slow: python -m coverage run --rcfile={toxinidir}/.coveragerc -m pytest -xvvs --dragons-remote-data --durations=20 -m "slow and not wavecal" {posargs:astrodata geminidr gemini_instruments gempy recipe_system}
unit: python -m coverage run --rcfile={toxinidir}/.coveragerc -m pytest -xvv --dragons-remote-data --durations=20 -m "not integration_test and not gmos and not gmosls and not gmosimage and not f2 and not f2ls and not f2image and not gsaoi and not niri and not nirils and not niriimage and not gnirs and not gnirsls and not gnirsimage and not gnirsxd and not wavecal and not regression and not slow and not ghost and not ghostbundle and not ghostslit and not ghostspect" {posargs:astrodata geminidr gemini_instruments gempy recipe_system}
gmos: python -m coverage run --rcfile={toxinidir}/.coveragerc -m pytest -xvv --dragons-remote-data --durations=20 -m "(gmos or gmosimage) and not slow and not wavecal" {posargs:astrodata geminidr gemini_instruments gempy recipe_system}
gmosls: python -m coverage run --rcfile={toxinidir}/.coveragerc -m pytest -xvv --dragons-remote-data --durations=20 -m "gmosls and not slow and not wavecal" {posargs:astrodata geminidr gemini_instruments gempy recipe_system}
wavecal: python -m coverage run --rcfile={toxinidir}/.coveragerc -m pytest -xvv --dragons-remote-data --durations=20 -m "wavecal" {posargs:astrodata geminidr gemini_instruments gempy recipe_system}
f2: python -m coverage run --rcfile={toxinidir}/.coveragerc -m pytest -xvv --dragons-remote-data --durations=20 -m "(f2 or f2ls or f2image) and not slow and not wavecal" {posargs:astrodata geminidr gemini_instruments gempy recipe_system}
gsaoi: python -m coverage run --rcfile={toxinidir}/.coveragerc -m pytest -xvv --dragons-remote-data --durations=20 -m "gsaoi and not slow" {posargs:astrodata geminidr gemini_instruments gempy recipe_system}
niri: python -m coverage run --rcfile={toxinidir}/.coveragerc -m pytest -xvv --dragons-remote-data --durations=20 -m "(niri or nirils or niriimage) and not slow and not wavecal" {posargs:astrodata geminidr gemini_instruments gempy recipe_system}
gnirs: python -m coverage run --rcfile={toxinidir}/.coveragerc -m pytest -xvv --dragons-remote-data --durations=20 -m "(gnirs or gnirsls or gnirsimage or gnirsxd) and not slow and not wavecal" {posargs:astrodata geminidr gemini_instruments gempy recipe_system}
ghost: python -m coverage run --rcfile={toxinidir}/.coveragerc -m pytest -xvv --dragons-remote-data --durations=20 -m "(ghost or ghostbundle or ghostslit or ghostspect) and not slow" {posargs:astrodata geminidr gemini_instruments gempy recipe_system}
reg: python -m coverage run --rcfile={toxinidir}/.coveragerc -m pytest -xvv --dragons-remote-data --durations=20 -m "regression and not slow and not wavecal" {posargs:astrodata geminidr gemini_instruments gempy recipe_system}
slow: python -m coverage run --rcfile={toxinidir}/.coveragerc -m pytest -xvv --dragons-remote-data --durations=20 -m "slow and not wavecal" {posargs:astrodata geminidr gemini_instruments gempy recipe_system}
docs: sphinx-build {posargs} . _build/html

[testenv:covreport]
Expand Down

0 comments on commit 1ef2e53

Please sign in to comment.