File tree 2 files changed +34
-0
lines changed 2 files changed +34
-0
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ title : " {{ env.TITLE }}"
3
+ labels : [bug]
4
+ ---
5
+ <!-- Based on
6
+ https://github.com/pymmcore-plus/pymmcore-widgets/blob/5e233384e223ca00101ef4b741d3c525a5cff9c9/.github/TEST_FAIL_TEMPLATE.md
7
+ -->
8
+ The {{ workflow }} workflow failed on {{ date | date("YYYY-MM-DD HH: mm ") }} UTC
9
+
10
+ The most recent failing test was on {{ env.os }} py{{ env.PYTHON }}, matplotlib version
11
+ {{ env.mpl-version }}
12
+ with commit: {{ sha }}
13
+
14
+ Full run: https://github.com/matplotlib/ipympl/actions/runs/{{ env.RUN_ID }}
15
+
16
+ (This post will be updated if another test fails, as long as this issue remains open.)
Original file line number Diff line number Diff line change @@ -138,3 +138,21 @@ jobs:
138
138
path : |
139
139
ui-tests/playwright-report
140
140
ui-tests/test-results
141
+
142
+ # If something goes wrong for the latests test cron job
143
+ # then open an issue in the repo
144
+ # This setup based on:
145
+ # https://github.com/pymmcore-plus/pymmcore-widgets/blob/5e233384e223ca00101ef4b741d3c525a5cff9c9/.github/workflows/cron.yml#L49
146
+ - name : Report Failures
147
+ if : failure() && github.event_name == 'schedule'
148
+ uses : JasonEtco/create-an-issue@v2
149
+ env :
150
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
151
+ OS : ${{ matrix.os }}
152
+ PYTHON : ${{ matrix.python }}
153
+ MATPLOLIBT : ${{ matrix.mpl-version }}
154
+ RUN_ID : ${{ github.run_id }}
155
+ TITLE : ' [test-bot] Scheduled Tests are failing'
156
+ with :
157
+ filename : .github/TEST_FAIL_TEMPLATE.md
158
+ update_existing : true
You can’t perform that action at this time.
0 commit comments