File tree Expand file tree Collapse file tree 1 file changed +9
-2
lines changed
.github/actions/build_pandas Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change 4
4
editable :
5
5
description : Whether to build pandas in editable mode (default true)
6
6
default : true
7
+ werror :
8
+ description : Enable werror flag for build
9
+ default : true
7
10
runs :
8
11
using : composite
9
12
steps :
@@ -24,11 +27,15 @@ runs:
24
27
25
28
- name : Build Pandas
26
29
run : |
30
+ SETUP_ARGS=""
31
+ if [[ ${{ inputs.werror }} == "true" ]]; then
32
+ SETUP_ARGS="--werror"
33
+ fi
27
34
if [[ ${{ inputs.editable }} == "true" ]]; then
28
35
pip install -e . --no-build-isolation -v --no-deps \
29
- -Csetup-args="--werror"
36
+ -Csetup-args=$SETUP_ARGS
30
37
else
31
38
pip install . --no-build-isolation -v --no-deps \
32
- -Csetup-args="--werror"
39
+ -Csetup-args=$SETUP_ARGS
33
40
fi
34
41
shell : bash -el {0}
You can’t perform that action at this time.
0 commit comments