Skip to content

Commit

Permalink
Adapt to Git Changes & Revert MacPython#182 (MacPython#183)
Browse files Browse the repository at this point in the history
  • Loading branch information
lithomas1 authored Jun 1, 2022
1 parent ba8aede commit 734492f
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions config.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
# Define custom utilities
# Test for OSX with [ -n "$IS_OSX" ]

# Adapted from MacPython/numpy-wheels
# https://github.com/MacPython/numpy-wheels/blob/87b189083a5f77225c3e51895c16d11711f73987/config.sh#L4-L7
if [ $(uname) == "Linux" ]; then
IS_LINUX=1
! git config --global --add safe.directory /io/pandas
fi

function pre_build {
# Any stuff that you need to do before you start building the wheels
# Runs in the root directory of this repository.
Expand Down Expand Up @@ -37,6 +44,5 @@ function run_tests {
# Skip test_rolling_var_numerical_issues: https://github.com/pandas-dev/pandas/issues/37398
# Skip test_rolling_skew_kurt_large_value_range: https://github.com/pandas-dev/pandas/issues/37398
# Skip test_pairwise_with_self/test_no_pairwise_with_self: https://github.com/pandas-dev/pandas/issues/39553
# Skip test_git_version/test_show_versions_console: https://github.com/pandas-dev/pandas/issues/46856
python -c 'import pandas; pandas.test(extra_args=["-m not clipboard", "--skip-slow", "--skip-network", "--skip-db", "-n=2", "-k not test_rolling_var_numerical_issues and not test_rolling_skew_kurt_large_value_range and not test_float_precision_options and not test_pairwise_with_self and not test_no_pairwise_with_self and not test_pickle_frame_v124_unpickle_130 and not test_git_version and not test_show_versions_console"])'
python -c 'import pandas; pandas.test(extra_args=["-m not clipboard", "--skip-slow", "--skip-network", "--skip-db", "-n=2", "-k not test_rolling_var_numerical_issues and not test_rolling_skew_kurt_large_value_range and not test_float_precision_options and not test_pairwise_with_self and not test_no_pairwise_with_self and not test_pickle_frame_v124_unpickle_130"])'
}

0 comments on commit 734492f

Please sign in to comment.