File tree Expand file tree Collapse file tree 1 file changed +10
-8
lines changed
Expand file tree Collapse file tree 1 file changed +10
-8
lines changed Original file line number Diff line number Diff line change 1010 - cron : " 0 0 * * *"
1111 workflow_dispatch :
1212
13- permissions :
14- id-token : write
15- contents : read
16- issues : write
17- pull-requests : write
18-
1913jobs :
2014
2115 test :
16+ permissions :
17+ pull-requests : write
2218 runs-on : ${{ matrix.os }}
2319 name : ${{ matrix.os }} - ${{ matrix.python }}
24- continue-on-error : ${{ matrix.experimental }}
2520 strategy :
2621 fail-fast : false
2722 matrix :
7267 run : python -c "import sys; print(sys.version)"
7368 - name : Run Tests
7469 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)
7672 uses : thollander/actions-comment-pull-request@v2
7773 if : failure() && ${{ matrix.experimental }} == true
7874 with :
7975 message : |
8076 '${{ 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