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

[ArrayManager] TST: run all tests with separate not slow / slow build #40495

Merged
merged 6 commits into from
Mar 20, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
45 changes: 8 additions & 37 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,9 @@ jobs:
data_manager:
name: Test experimental data manager
runs-on: ubuntu-latest
strategy:
matrix:
pattern: ["not slow and not network and not clipboard", "slow"]
steps:

- name: Checkout
Expand All @@ -152,43 +155,11 @@ jobs:
- name: Run tests
env:
PANDAS_DATA_MANAGER: array
PATTERN: ${{ matrix.pattern }}
PYTEST_WORKERS: "auto"
run: |
source activate pandas-dev
ci/run_tests.sh

pytest pandas/tests/frame/
pytest pandas/tests/reductions/
pytest pandas/tests/generic/test_generic.py
pytest pandas/tests/arithmetic/
pytest pandas/tests/groupby/
pytest pandas/tests/resample/
pytest pandas/tests/reshape/merge
pytest pandas/tests/series/
pytest pandas/tests/indexing/

pytest pandas/tests/test_*
pytest pandas/tests/api/
pytest pandas/tests/apply/
pytest pandas/tests/arrays/
pytest pandas/tests/base/
pytest pandas/tests/computation/
pytest pandas/tests/config/
pytest pandas/tests/dtypes/
pytest pandas/tests/extension/
pytest pandas/tests/generic/
pytest pandas/tests/indexes/
pytest pandas/tests/internals/
pytest pandas/tests/io/test_* -m "not slow and not clipboard"
pytest pandas/tests/io/excel/ -m "not slow and not clipboard"
pytest pandas/tests/io/formats/ -m "not slow and not clipboard"
pytest pandas/tests/io/parser/ -m "not slow and not clipboard"
pytest pandas/tests/io/sas/ -m "not slow and not clipboard"
pytest pandas/tests/io/xml/ -m "not slow and not clipboard"
pytest pandas/tests/libs/
pytest pandas/tests/plotting/
pytest pandas/tests/scalar/
pytest pandas/tests/strings/
pytest pandas/tests/tools/
pytest pandas/tests/tseries/
pytest pandas/tests/tslibs/
pytest pandas/tests/util/
pytest pandas/tests/window/
- name: Print skipped tests
run: python ci/print_skipped.py
4 changes: 4 additions & 0 deletions pandas/tests/reshape/concat/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
import pandas.util._test_decorators as td

# TODO(ArrayManager) concat axis=0
pytestmark = td.skip_array_manager_not_yet_implemented
3 changes: 3 additions & 0 deletions pandas/tests/reshape/test_crosstab.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
import numpy as np
import pytest

import pandas.util._test_decorators as td

from pandas.core.dtypes.common import is_categorical_dtype

from pandas import (
Expand Down Expand Up @@ -438,6 +440,7 @@ def test_crosstab_normalize_arrays(self):
)
tm.assert_frame_equal(test_case, norm_sum)

@td.skip_array_manager_not_yet_implemented # TODO(ArrayManager) concat axis=0
def test_crosstab_with_empties(self):
# Check handling of empties
df = DataFrame(
Expand Down
3 changes: 3 additions & 0 deletions pandas/tests/reshape/test_pivot.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
import numpy as np
import pytest

import pandas.util._test_decorators as td

import pandas as pd
from pandas import (
Categorical,
Expand Down Expand Up @@ -1197,6 +1199,7 @@ def test_pivot_table_with_margins_set_margin_name(self, margin_name):
margins_name=margin_name,
)

@td.skip_array_manager_not_yet_implemented # TODO(ArrayManager) concat axis=0
def test_pivot_timegrouper(self):
df = DataFrame(
{
Expand Down
3 changes: 3 additions & 0 deletions pandas/tests/reshape/test_pivot_multilevel.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
import numpy as np
import pytest

import pandas.util._test_decorators as td

import pandas as pd
from pandas import (
Index,
Expand Down Expand Up @@ -196,6 +198,7 @@ def test_pivot_list_like_columns(
tm.assert_frame_equal(result, expected)


@td.skip_array_manager_not_yet_implemented # TODO(ArrayManager) concat axis=0
def test_pivot_multiindexed_rows_and_cols():
# GH 36360

Expand Down