File tree 3 files changed +7
-16
lines changed
3 files changed +7
-16
lines changed Original file line number Diff line number Diff line change @@ -3,17 +3,6 @@ description: Rebuilds the C extensions and installs pandas
3
3
runs :
4
4
using : composite
5
5
steps :
6
-
7
- - name : Environment Detail
8
- id : env-detail
9
- run : |
10
- echo ::group::{Environment Detail}
11
- micromamba info
12
- micromamba list
13
- echo ::set-output name=python-version::$(micromamba list -f python --json | jq -r '.[0].version')
14
- echo ::endgroup::
15
- shell : bash -el {0}
16
-
17
6
- name : Set up Ccache
18
7
uses : ./.github/actions/setup-ccache
19
8
with :
22
11
- name : Build Pandas
23
12
if : ${{ runner.os != 'Windows' }}
24
13
run : |
25
- pip install -e . --no-build-isolation -v
14
+ python -m pip install . --no-build-isolation -v
26
15
shell : bash -el {0}
27
16
28
17
- name : Build Pandas (Windows)
Original file line number Diff line number Diff line change @@ -6,16 +6,17 @@ inputs:
6
6
runs :
7
7
using : composite
8
8
steps :
9
+ # Daily invalidation of all ccaches as an extra safety measure.
9
10
- name : Get Date
10
11
id : get-date
11
- run : echo "::set-output name= today:: $(/bin/date -u '+%Y%m%d')"
12
+ run : echo "today= $(/bin/date -u '+%Y%m%d')" >> $GITHUB_OUTPUT
12
13
shell : bash
13
14
15
+ # On Windows, for some reason the default temporary directory provided to sccache
16
+ # may become read-only at some point. Work around by having a private tempdir.
14
17
- name : Fix Windows temporary directory
15
- # On Windows, for some reason the default temporary directory provided to sccache
16
- # may become read-only at some point. Work around by having a private tempdir.
17
18
id : mktemp
18
- run : echo "::set-output name= tmpdir:: $(cygpath -w $(mktemp -d))"
19
+ run : echo "tmpdir= $(cygpath -w $(mktemp -d))" >> $GITHUB_OUTPUT
19
20
shell : bash
20
21
if : ${{ runner.os == 'Windows' }}
21
22
Original file line number Diff line number Diff line change 40
40
PYTEST_CMD=" $PYTEST_CMD -k test_a"
41
41
echo $PYTEST_CMD
42
42
sh -c " $PYTEST_CMD "
43
+ exit 0
43
44
44
45
if [[ " $PANDAS_DATA_MANAGER " != " array" && " $PYTEST_TARGET " == " pandas" ]]; then
45
46
# The ArrayManager tests should have already been run by PYTEST_CMD if PANDAS_DATA_MANAGER was already set to array
You can’t perform that action at this time.
0 commit comments