@@ -65,37 +65,39 @@ jobs:
65
65
id : build
66
66
uses : ./.github/actions/build_pandas
67
67
68
+ # The following checks are independent of each other and should still be run if one fails
68
69
- name : Check for no warnings when building single-page docs
69
70
run : ci/code_checks.sh single-docs
70
- if : ${{ steps.build.outcome == 'success' }}
71
+ if : ${{ steps.build.outcome == 'success' && always() }}
71
72
72
73
- name : Run checks on imported code
73
74
run : ci/code_checks.sh code
74
- if : ${{ steps.build.outcome == 'success' }}
75
+ if : ${{ steps.build.outcome == 'success' && always() }}
75
76
76
77
- name : Run doctests
77
78
run : ci/code_checks.sh doctests
78
- if : ${{ steps.build.outcome == 'success' }}
79
+ if : ${{ steps.build.outcome == 'success' && always() }}
79
80
80
81
- name : Run docstring validation
81
82
run : ci/code_checks.sh docstrings
82
- if : ${{ steps.build.outcome == 'success' }}
83
+ if : ${{ steps.build.outcome == 'success' && always() }}
83
84
84
85
- name : Use existing environment for type checking
85
86
run : |
86
87
echo $PATH >> $GITHUB_PATH
87
88
echo "PYTHONHOME=$PYTHONHOME" >> $GITHUB_ENV
88
89
echo "PYTHONPATH=$PYTHONPATH" >> $GITHUB_ENV
90
+ if : ${{ steps.build.outcome == 'success' && always() }}
89
91
90
92
- name : Typing
91
93
uses :
pre-commit/[email protected]
92
94
with :
93
95
extra_args : --hook-stage manual --all-files
94
- if : ${{ steps.build.outcome == 'success' }}
96
+ if : ${{ steps.build.outcome == 'success' && always() }}
95
97
96
98
- name : Run docstring validation script tests
97
99
run : pytest scripts
98
- if : ${{ steps.build.outcome == 'success' }}
100
+ if : ${{ steps.build.outcome == 'success' && always() }}
99
101
100
102
asv-benchmarks :
101
103
name : ASV Benchmarks
@@ -157,3 +159,32 @@ jobs:
157
159
158
160
- name : Build image
159
161
run : docker build --pull --no-cache --tag pandas-dev-env .
162
+
163
+ requirements-dev-text-installable :
164
+ name : Test install requirements-dev.txt
165
+ runs-on : ubuntu-latest
166
+
167
+ concurrency :
168
+ # https://github.community/t/concurrecy-not-work-for-push/183068/7
169
+ group : ${{ github.event_name == 'push' && github.run_number || github.ref }}-requirements-dev-text-installable
170
+ cancel-in-progress : true
171
+
172
+ steps :
173
+ - name : Checkout
174
+ uses : actions/checkout@v3
175
+ with :
176
+ fetch-depth : 0
177
+
178
+ - name : Setup Python
179
+ id : setup_python
180
+ uses : actions/setup-python@v3
181
+ with :
182
+ python-version : ' 3.8'
183
+ cache : ' pip'
184
+ cache-dependency-path : ' requirements-dev.txt'
185
+
186
+ - name : Install requirements-dev.txt
187
+ run : pip install -r requirements-dev.txt
188
+
189
+ - name : Check Pip Cache Hit
190
+ run : echo ${{ steps.setup_python.outputs.cache-hit }}
0 commit comments