88 pull_request :
99 branches-ignore :
1010 - v[0-9]+.[0-9]+.[0-9x]+-doc
11+ schedule :
12+ # 3:47 UTC on Saturdays
13+ - cron : " 47 3 * * 6"
1114
1215env :
1316 NO_AT_BRIDGE : 1 # Necessary for GTK3 interactive test.
@@ -209,6 +212,20 @@ jobs:
209212 echo 'wxPython is available' ||
210213 echo 'wxPython is not available'
211214
215+ - name : Install the nightly dependencies
216+ # Only install the nightly dependencies during the scheduled event
217+ if : ${{ github.event_name == 'schedule' && matrix.name-suffix != '(Minimum Versions)' }}
218+ run : |
219+ python -m pip install -i https://pypi.anaconda.org/scipy-wheels-nightly/simple --upgrade numpy pandas
220+
221+ # Turn all warnings to errors, except ignore the distutils deprecations and the find_spec warning
222+ cat >> pytest.ini << EOF
223+ filterwarnings =
224+ error
225+ ignore:.*distutils:DeprecationWarning
226+ ignore:DynamicImporter.find_spec\(\) not found; falling back to find_module\(\):ImportWarning
227+ EOF
228+
212229 - name : Install Matplotlib
213230 run : |
214231 ccache -s
@@ -266,3 +283,18 @@ jobs:
266283 with :
267284 name : " ${{ matrix.python-version }} ${{ matrix.os }} ${{ matrix.name-suffix }} result images"
268285 path : ./result_images
286+
287+ - name : Create issue on failure
288+ uses : imjohnbo/issue-bot@v3
289+ if : ${{ failure() && github.event_name == 'schedule' }}
290+ with :
291+ title : " [TST] Upcoming dependency test failures"
292+ body : |
293+ The weekly build with nightly wheels from numpy and pandas
294+ has failed. Check the logs for any updates that need to be
295+ made in matplotlib.
296+
297+ pinned : false
298+ close-previous : false
299+ env :
300+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
0 commit comments