diff --git a/.gitignore b/.gitignore index 172bf57..e31e2f6 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,3 @@ .tox +.hypothesis +result_images diff --git a/sunpy_tst.ini b/sunpy_pytest.ini similarity index 53% rename from sunpy_tst.ini rename to sunpy_pytest.ini index a2eb723..e79ca22 100644 --- a/sunpy_tst.ini +++ b/sunpy_pytest.ini @@ -1,18 +1,32 @@ -[tool:pytest] -testpaths = "sunpy" "docs" -norecursedirs = ".tox" "build" "docs[\/]_build" "docs[\/]generated" "*.egg-info" "examples" "sunpy[/\]_dev" ".jupyter" ".history" "tools" "sunpy[\/]extern" "benchmarks" +# This is a reduced config to run in this specific CI +[pytest] +minversion = 7.0 +testpaths = + sunpy + docs +norecursedirs = + .tox + build + docs/_build + docs/generated + *.egg-info + examples + sunpy/_dev + .history + tools + sunpy/extern + benchmarks doctest_plus = enabled doctest_optionflags = NORMALIZE_WHITESPACE FLOAT_CMP ELLIPSIS -addopts = --dist no --arraydiff --doctest-rst --doctest-ignore-import-errors -p no:unraisableexception -p no:threadexception -m "not mpl_image_compare" +addopts = --arraydiff --doctest-rst --doctest-ignore-import-errors -p no:unraisableexception -p no:threadexception -m "not mpl_image_compare" asdf_schema_tests_enabled = true asdf_schema_root = sunpy/io/special/asdf/resources/ -mpl-results-path = figure_test_images -mpl-use-full-test-name = True markers = remote_data: marks this test function as needing remote data. online: marks this test function as needing online connectivity. mpl_image_compare: marks this test function as using hash-based Matplotlib figure verification. This mark is not meant to be directly applied, but is instead automatically applied when a test function uses the @sunpy.tests.helpers.figure_test decorator. flaky array_compare -remote_data_strict = True -# We do not care about junit_family or filterwarnings here. +remote_data_strict = true +filterwarnings = + ignore diff --git a/tox.ini b/tox.ini index bfa82af..c3d12b8 100644 --- a/tox.ini +++ b/tox.ini @@ -72,4 +72,4 @@ commands = reproject,all: pytest --pyargs reproject specreduce,all: pytest --pyargs specreduce specutils,all: pytest --pyargs specutils - sunpy,all: pytest --pyargs sunpy -c sunpy_tst.ini + sunpy,all: pytest --pyargs sunpy -c sunpy_pytest.ini