File tree 1 file changed +10
-8
lines changed
1 file changed +10
-8
lines changed Original file line number Diff line number Diff line change 10
10
- cron : " 0 0 * * *"
11
11
workflow_dispatch :
12
12
13
- permissions :
14
- id-token : write
15
- contents : read
16
- issues : write
17
- pull-requests : write
18
-
19
13
jobs :
20
14
21
15
test :
16
+ permissions :
17
+ pull-requests : write
22
18
runs-on : ${{ matrix.os }}
23
19
name : ${{ matrix.os }} - ${{ matrix.python }}
24
- continue-on-error : ${{ matrix.experimental }}
25
20
strategy :
26
21
fail-fast : false
27
22
matrix :
72
67
run : python -c "import sys; print(sys.version)"
73
68
- name : Run Tests
74
69
run : python -u -m pyperformance.tests
75
- - name : Notify result for experimental tasks
70
+ continue-on-error : ${{ matrix.experimental }}
71
+ - name : Notify result for experimental tasks (Failure)
76
72
uses : thollander/actions-comment-pull-request@v2
77
73
if : failure() && ${{ matrix.experimental }} == true
78
74
with :
79
75
message : |
80
76
'${{ matrix.os }} - ${{ matrix.python }} is failed, but allowed as the experimental task.'
77
+ - name : Notify result for experimental tasks (Success)
78
+ uses : thollander/actions-comment-pull-request@v2
79
+ if : success() && ${{ matrix.experimental }} == true
80
+ with :
81
+ message : |
82
+ '${{ matrix.os }} - ${{ matrix.python }} is passed, now we can disable experimental flag.'
You can’t perform that action at this time.
0 commit comments