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 44 editable :
55 description : Whether to build pandas in editable mode (default true)
66 default : true
7+ werror :
8+ description : Enable werror flag for build
9+ default : true
710runs :
811 using : composite
912 steps :
@@ -24,11 +27,15 @@ runs:
2427
2528 - name : Build Pandas
2629 run : |
30+ SETUP_ARGS=""
31+ if [[ ${{ inputs.werror }} == "true" ]]; then
32+ SETUP_ARGS="--werror"
33+ fi
2734 if [[ ${{ inputs.editable }} == "true" ]]; then
2835 pip install -e . --no-build-isolation -v --no-deps \
29- -Csetup-args="--werror"
36+ -Csetup-args=$SETUP_ARGS
3037 else
3138 pip install . --no-build-isolation -v --no-deps \
32- -Csetup-args="--werror"
39+ -Csetup-args=$SETUP_ARGS
3340 fi
3441 shell : bash -el {0}
You can’t perform that action at this time.
0 commit comments