File tree 1 file changed +9
-4
lines changed 1 file changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -203,15 +203,20 @@ jobs:
203
203
steps :
204
204
- uses : actions/checkout@v3
205
205
- uses : actions/download-artifact@v3
206
- with :
207
- name : test-ubuntu-latest-py3.10-results
208
- - name : Prepare issue label
206
+ - name : Prepare logs & issue label
209
207
run : |
208
+ # TODO: remove this if xarray-contrib/issue-from-pytest-log no longer needs a log-path
209
+ if [ -f test-ubuntu-latest-py3.10-results/test-ubuntu-latest-py3.10-results.jsonl ]; then
210
+ cp test-ubuntu-latest-py3.10-results/test-ubuntu-latest-py3.10-results.jsonl results.jsonl
211
+ else
212
+ touch results.jsonl
213
+ fi
214
+
210
215
# convert which_upstream to lowercase
211
216
echo "which_upstream_lower=${which_upstream,,}" >> $GITHUB_ENV
212
217
- name : Open or update issue on failure
213
218
uses :
xarray-contrib/[email protected]
214
219
with :
215
- log-path : test-ubuntu-latest-py3.10- results.jsonl
220
+ log-path : results.jsonl
216
221
issue-title : ⚠️ Upstream CI ${{ env.which_upstream }} failed ⚠️
217
222
issue-label : upstream-${{ env.which_upstream_lower }}
You can’t perform that action at this time.
0 commit comments