File tree 5 files changed +79
-65
lines changed
5 files changed +79
-65
lines changed Original file line number Diff line number Diff line change 12
12
13
13
- name : Build Pandas
14
14
run : |
15
- python setup.py build_ext -j 2
15
+ python setup.py build_ext -j $N_JOBS
16
16
python -m pip install -e . --no-build-isolation --no-use-pep517 --no-index
17
17
shell : bash -el {0}
18
+ env :
19
+ # Cannot use parallel compilation on Windows, see https://github.com/pandas-dev/pandas/issues/30873
20
+ N_JOBS : ${{ runner.os == 'Windows' && 1 || 2 }}
Original file line number Diff line number Diff line change @@ -180,7 +180,6 @@ jobs:
180
180
run : ci/run_tests.sh
181
181
# TODO: Don't continue on error for PyPy
182
182
continue-on-error : ${{ env.IS_PYPY == 'true' }}
183
- if : always()
184
183
185
184
- name : Build Version
186
185
run : conda list
Original file line number Diff line number Diff line change
1
+ name : Windows
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - main
7
+ - 1.4.x
8
+ pull_request :
9
+ branches :
10
+ - main
11
+ - 1.4.x
12
+ paths-ignore :
13
+ - " doc/**"
14
+
15
+ env :
16
+ PANDAS_CI : 1
17
+ PYTEST_TARGET : pandas
18
+ PYTEST_WORKERS : auto
19
+ PATTERN : " not slow and not db and not network and not single_cpu"
20
+
21
+
22
+ jobs :
23
+ pytest :
24
+ runs-on : windows-latest
25
+ defaults :
26
+ run :
27
+ shell : bash -el {0}
28
+ timeout-minutes : 90
29
+ strategy :
30
+ matrix :
31
+ env_file : [actions-38.yaml, actions-39.yaml, actions-310.yaml]
32
+ fail-fast : false
33
+ concurrency :
34
+ # https://github.community/t/concurrecy-not-work-for-push/183068/7
35
+ group : ${{ github.event_name == 'push' && github.run_number || github.ref }}-${{ matrix.env_file }}-windows
36
+ cancel-in-progress : true
37
+
38
+ steps :
39
+ - name : Checkout
40
+ uses : actions/checkout@v3
41
+ with :
42
+ fetch-depth : 0
43
+
44
+ - name : Install Dependencies
45
+ uses :
conda-incubator/[email protected]
46
+ with :
47
+ mamba-version : " *"
48
+ channels : conda-forge
49
+ activate-environment : pandas-dev
50
+ channel-priority : strict
51
+ environment-file : ci/deps/${{ matrix.env_file }}
52
+ use-only-tar-bz2 : true
53
+
54
+ - name : Build Pandas
55
+ uses : ./.github/actions/build_pandas
56
+
57
+ - name : Test
58
+ run : ci/run_tests.sh
59
+
60
+ - name : Build Version
61
+ run : conda list
62
+
63
+ - name : Publish test results
64
+ uses : actions/upload-artifact@v3
65
+ with :
66
+ name : Test results
67
+ path : test-data.xml
68
+ if : failure()
69
+
70
+ - name : Upload coverage to Codecov
71
+ uses : codecov/codecov-action@v2
72
+ with :
73
+ flags : unittests
74
+ name : codecov-pandas
75
+ fail_ci_if_error : false
Original file line number Diff line number Diff line change 27
27
name : macOS
28
28
vmImage : macOS-10.15
29
29
30
- - template : ci/azure/windows.yml
31
- parameters :
32
- name : Windows
33
- vmImage : windows-2019
34
-
35
30
- job : py38_32bit
36
31
pool :
37
32
vmImage : ubuntu-18.04
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments