File tree Expand file tree Collapse file tree 6 files changed +0
-18
lines changed Expand file tree Collapse file tree 6 files changed +0
-18
lines changed Original file line number Diff line number Diff line change @@ -129,8 +129,6 @@ jobs:
129
129
130
130
- name : Build and test wheels
131
131
env :
132
- CONFTEST_PATH : ${{ github.workspace }}/conftest.py
133
- CONFTEST_NAME : conftest.py
134
132
CIBW_PRERELEASE_PYTHONS : ${{ matrix.prerelease }}
135
133
CIBW_ENVIRONMENT : SKLEARN_SKIP_NETWORK_TESTS=1
136
134
SKLEARN_BUILD_PARALLEL=3
Original file line number Diff line number Diff line change @@ -2,8 +2,6 @@ macos_arm64_wheel_task:
2
2
macos_instance :
3
3
image : ghcr.io/cirruslabs/macos-monterey-xcode
4
4
env :
5
- CONFTEST_PATH : ${CIRRUS_WORKING_DIR}/conftest.py
6
- CONFTEST_NAME : conftest.py
7
5
CIBW_ENVIRONMENT : SKLEARN_SKIP_NETWORK_TESTS=1
8
6
SKLEARN_BUILD_PARALLEL=5
9
7
CIBW_TEST_COMMAND : bash {project}/build_tools/wheels/test_wheels.sh
@@ -49,8 +47,6 @@ linux_arm64_wheel_task:
49
47
cpu : 4
50
48
memory : 4G
51
49
env :
52
- CONFTEST_PATH : ${CIRRUS_WORKING_DIR}/conftest.py
53
- CONFTEST_NAME : conftest.py
54
50
CIBW_ENVIRONMENT : SKLEARN_SKIP_NETWORK_TESTS=1
55
51
SKLEARN_BUILD_PARALLEL=5
56
52
CIBW_TEST_COMMAND : bash {project}/build_tools/wheels/test_wheels.sh
Original file line number Diff line number Diff line change @@ -3,12 +3,10 @@ ARG PYTHON_VERSION
3
3
FROM winamd64/python:$PYTHON_VERSION-windowsservercore
4
4
5
5
ARG WHEEL_NAME
6
- ARG CONFTEST_NAME
7
6
ARG CIBW_TEST_REQUIRES
8
7
9
8
# Copy and install the Windows wheel
10
9
COPY $WHEEL_NAME $WHEEL_NAME
11
- COPY $CONFTEST_NAME $CONFTEST_NAME
12
10
RUN pip install $env:WHEEL_NAME
13
11
14
12
# Install the testing dependencies
Original file line number Diff line number Diff line change 20
20
# Build a minimal Windows Docker image for testing the wheels
21
21
docker build --build-arg PYTHON_VERSION=$PYTHON_VERSION \
22
22
--build-arg WHEEL_NAME=$WHEEL_NAME \
23
- --build-arg CONFTEST_NAME=$CONFTEST_NAME \
24
23
--build-arg CIBW_TEST_REQUIRES=" $CIBW_TEST_REQUIRES " \
25
24
-f build_tools/github/Windows \
26
25
-t scikit-learn/minimal-windows .
Original file line number Diff line number Diff line change @@ -13,7 +13,6 @@ python -m pip install pytest pandas
13
13
14
14
# Run the tests on the installed source distribution
15
15
mkdir tmp_for_test
16
- cp scikit-learn/scikit-learn/conftest.py tmp_for_test
17
16
cd tmp_for_test
18
17
19
18
pytest --pyargs sklearn
Original file line number Diff line number Diff line change 3
3
set -e
4
4
set -x
5
5
6
- UNAME=$( uname)
7
-
8
- if [[ " $UNAME " != " Linux" ]]; then
9
- # The Linux test environment is run in a Docker container and
10
- # it is not possible to copy the test configuration file (yet)
11
- cp $CONFTEST_PATH $CONFTEST_NAME
12
- fi
13
-
14
6
python -c " import joblib; print(f'Number of cores (physical): \
15
7
{joblib.cpu_count()} ({joblib.cpu_count(only_physical_cores=True)})')"
16
8
You can’t perform that action at this time.
0 commit comments