
[pytest]
python_files = *.py
testpaths = ogr gcore gdrivers osr alg gnm utilities pyscripts benchmark
norecursedirs = ogr/data gdrivers/data cpp
env =
   #GDAL_DOWNLOAD_TEST_DATA=YES
   #GDAL_RUN_SLOW_TESTS=YES
   PROJ_NETWORK=OFF
   PROJ_NETWORK=OFF
# Deprecated raster drivers
   GDAL_ENABLE_DEPRECATED_DRIVER_DODS=YES
   GDAL_ENABLE_DEPRECATED_DRIVER_JDEM=YES
   GDAL_ENABLE_DEPRECATED_DRIVER_ZMAP=YES
# Deprecated vector drivers
   GDAL_ENABLE_DEPRECATED_DRIVER_OGR_DODS=YES
   GDAL_ENABLE_DEPRECATED_DRIVER_TIGER=YES
gdal_version = 3.13.1

markers =
    random_order: Indicates whether tests can be run non-sequentially
    require_32bit: Only run test(s) on 32-bit systems
    require_64bit: Only run test(s) on 64-bit systems
    require_curl: Skip test(s) if curl support is absent
    require_creation_option: Skip test(s) if required creation option is not available
    require_driver: Skip test(s) if driver isn't present
    require_geos: Skip test(s) if required GEOS version is not available
    require_proj: Skip test(s) if required PROJ version is not available
    require_run_on_demand: Skip test(s) if RUN_ON_DEMAND environment variable is not set
    slow: Skip test(s) if GDAL_RUN_SLOW_TESTS environment variable is not set
    xdist_group: Associated test with a named group that will be sent to a single parallel worker
    network: tests requiring external network access

# Make sure that all markers are declared above
# --strict-markers causes an error if a test has a marker that is not handled
# --dist=loadgroup instructs pytest-xdist to send tests marked with the same
#                  xdist_group marker to the same worker.
addopts = --strict-markers --dist=loadgroup
