Skip to content

Backport PR #43613 on branch 1.3.x (CI: Add back CircleCI for ARM64) #43615

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

Merged
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
21 changes: 21 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
version: 2.1

jobs:
test-arm:
machine:
image: ubuntu-2004:202101-01
resource_class: arm.medium
environment:
ENV_FILE: ci/deps/circle-37-arm64.yaml
PYTEST_WORKERS: auto
PATTERN: "not slow and not network and not clipboard and not arm_slow"
PYTEST_TARGET: "pandas"
steps:
- checkout
- run: ci/setup_env.sh
- run: PATH=$HOME/miniconda3/envs/pandas-dev/bin:$HOME/miniconda3/condabin:$PATH ci/run_tests.sh

workflows:
test:
jobs:
- test-arm
7 changes: 2 additions & 5 deletions pandas/tests/indexes/numeric/test_numeric.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,7 @@
import pytest

from pandas._libs.tslibs import Timestamp
from pandas.compat import (
is_platform_arm,
is_platform_mac,
)
from pandas.compat import is_platform_arm

import pandas as pd
from pandas import (
Expand Down Expand Up @@ -536,7 +533,7 @@ def test_constructor(self, dtype):
tm.assert_index_equal(res, idx)

@pytest.mark.xfail(
not (is_platform_arm() and is_platform_mac()),
not is_platform_arm(),
reason="https://github.com/numpy/numpy/issues/19146",
)
def test_constructor_does_not_cast_to_float(self):
Expand Down