diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 1e2556f521225..d69936322b47e 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -18,6 +18,8 @@ pr: variables: PYTEST_WORKERS: auto PYTEST_TARGET: pandas + PATTERN: "not slow and not high_memory and not db and not network" + PANDAS_CI: 1 jobs: # Mac and Linux use the same template diff --git a/ci/azure/windows.yml b/ci/azure/windows.yml index 836332251d7b3..3b489d92388da 100644 --- a/ci/azure/windows.yml +++ b/ci/azure/windows.yml @@ -4,51 +4,22 @@ parameters: jobs: - job: ${{ parameters.name }} + timeoutInMinutes: 90 pool: vmImage: ${{ parameters.vmImage }} strategy: matrix: - py38_np18_1: - ENV_FILE: ci/deps/azure-windows-38.yaml + py38: + ENV_FILE: ci/deps/actions-38.yaml CONDA_PY: "38" - PATTERN: "not slow" - PYTEST_WORKERS: 2 # GH-42236 - PYTEST_TARGET: "pandas/tests/[a-h]*" - py38_np18_2: - ENV_FILE: ci/deps/azure-windows-38.yaml - CONDA_PY: "38" - PATTERN: "not slow" - PYTEST_WORKERS: 2 # GH-42236 - PYTEST_TARGET: "pandas/tests/[i-z]*" - - py39_1: - ENV_FILE: ci/deps/azure-windows-39.yaml - CONDA_PY: "39" - PATTERN: "not slow and not high_memory" - PYTEST_WORKERS: 2 # GH-42236 - PYTEST_TARGET: "pandas/tests/[a-h]*" - - py39_2: - ENV_FILE: ci/deps/azure-windows-39.yaml + py39: + ENV_FILE: ci/deps/actions-39.yaml CONDA_PY: "39" - PATTERN: "not slow and not high_memory" - PYTEST_WORKERS: 2 # GH-42236 - PYTEST_TARGET: "pandas/tests/[i-z]*" - - py310_1: - ENV_FILE: ci/deps/azure-windows-310.yaml - CONDA_PY: "310" - PATTERN: "not slow and not high_memory" - PYTEST_WORKERS: 2 # GH-42236 - PYTEST_TARGET: "pandas/tests/[a-h]*" - py310_2: - ENV_FILE: ci/deps/azure-windows-310.yaml + py310: + ENV_FILE: ci/deps/actions-310.yaml CONDA_PY: "310" - PATTERN: "not slow and not high_memory" - PYTEST_WORKERS: 2 # GH-42236 - PYTEST_TARGET: "pandas/tests/[i-z]*" steps: - powershell: | @@ -59,7 +30,7 @@ jobs: displayName: 'Update conda' - bash: | - conda env create -q --file ci\\deps\\azure-windows-$(CONDA_PY).yaml + conda env create -q --file ci\\deps\\actions-$(CONDA_PY).yaml displayName: 'Create anaconda environment' - bash: | source activate pandas-dev diff --git a/ci/deps/azure-windows-310.yaml b/ci/deps/azure-windows-310.yaml deleted file mode 100644 index 8e6f4deef6057..0000000000000 --- a/ci/deps/azure-windows-310.yaml +++ /dev/null @@ -1,41 +0,0 @@ -name: pandas-dev -channels: - - conda-forge - - defaults -dependencies: - - python=3.10 - - # tools - - cython>=0.29.24 - - pytest>=6.0 - - pytest-xdist>=1.31 - - hypothesis>=5.5.3 - - pytest-azurepipelines - - # pandas dependencies - - beautifulsoup4 - - bottleneck - - fsspec>=0.8.0 - - gcsfs - - html5lib - - jinja2 - - lxml - - matplotlib - # TODO: uncomment after numba supports py310 - #- numba - - numexpr - - numpy - - openpyxl - - pyarrow - - pytables - - python-dateutil - - pytz - - s3fs>=0.4.2 - - scipy - - sqlalchemy - - xlrd - - xlsxwriter - - xlwt - - pyreadstat - - pyxlsb - - zstandard diff --git a/ci/deps/azure-windows-38.yaml b/ci/deps/azure-windows-38.yaml deleted file mode 100644 index eb533524147d9..0000000000000 --- a/ci/deps/azure-windows-38.yaml +++ /dev/null @@ -1,35 +0,0 @@ -name: pandas-dev -channels: - - conda-forge - - defaults -dependencies: - - python=3.8 - - # tools - - cython>=0.29.24 - - pytest>=6.0 - - pytest-xdist>=1.31 - - hypothesis>=5.5.3 - - pytest-azurepipelines - - # pandas dependencies - - blosc - - bottleneck - - fastparquet>=0.4.0 - - fsspec>=0.8.0 - - matplotlib=3.3.2 - - numba - - numexpr - - numpy=1.18 - - openpyxl - - jinja2 - - pyarrow=2 - - pytables - - python-dateutil - - pytz - - s3fs>=0.4.0 - - scipy - - xlrd - - xlsxwriter - - xlwt - - zstandard diff --git a/ci/deps/azure-windows-39.yaml b/ci/deps/azure-windows-39.yaml deleted file mode 100644 index 6f820b1c2aedb..0000000000000 --- a/ci/deps/azure-windows-39.yaml +++ /dev/null @@ -1,40 +0,0 @@ -name: pandas-dev -channels: - - conda-forge - - defaults -dependencies: - - python=3.9 - - # tools - - cython>=0.29.24 - - pytest>=6.0 - - pytest-xdist>=1.31 - - hypothesis>=5.5.3 - - pytest-azurepipelines - - # pandas dependencies - - beautifulsoup4 - - bottleneck - - fsspec>=0.8.0 - - gcsfs - - html5lib - - jinja2 - - lxml - - matplotlib - - numba - - numexpr - - numpy - - openpyxl - - pyarrow=6 - - pytables - - python-dateutil - - pytz - - s3fs>=0.4.2 - - scipy - - sqlalchemy - - xlrd - - xlsxwriter - - xlwt - - pyreadstat - - pyxlsb - - zstandard