File tree 1 file changed +10
-0
lines changed
.github/actions/build_pandas
1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -14,13 +14,23 @@ runs:
14
14
python --version
15
15
shell : bash -el {0}
16
16
17
+ - name : Fix Windows temporary directory
18
+ # On Windows, for some reason the default temporary directory used by distutils
19
+ # may become read-only at some point. Work around by having a private tempdir.
20
+ id : mktemp
21
+ run : echo "::set-output name=tmpdir::$(cygpath -w $(mktemp -d))"
22
+ shell : bash
23
+ if : ${{ runner.os == 'Windows' }}
24
+
17
25
- name : Build Pandas
18
26
run : |
19
27
which python
20
28
which pip
21
29
time python setup.py build_ext -v -j 3
22
30
pip install -v -e . --no-build-isolation --no-use-pep517 --no-index
23
31
shell : bash -el {0}
32
+ env :
33
+ TMP : " ${{ steps.mktemp.outputs.tmpdir }}"
24
34
25
35
- name : Build Version
26
36
run : pushd /tmp && python -c "import pandas; pandas.show_versions();" && popd
You can’t perform that action at this time.
0 commit comments