File tree Expand file tree Collapse file tree 2 files changed +9
-7
lines changed
Expand file tree Collapse file tree 2 files changed +9
-7
lines changed Original file line number Diff line number Diff line change @@ -30,14 +30,15 @@ jobs:
3030
3131 if [ -n "${{ github.base_ref }}" ]; then
3232 CHANGED_OUTPUTS=$(echo "${{ github.event.pull_request.body }}" | sed -n 's/.*CHANGED_OUTPUTS=\([^ ]*\).*/\1/p')
33- BASE_BRANCH="${{ github.base_ref }}"
34- HEAD_BRANCH="${{ github.head_ref || github.ref_name }}"
33+ BASE_REF="${{ github.base_ref }}"
34+ HEAD_REF=$(git rev-parse HEAD)
35+ echo "CHANGED_OUTPUTS: $CHANGED_OUTPUTS"
3536
36- git fetch origin $BASE_BRANCH
37- git checkout $BASE_BRANCH
37+ git fetch origin $BASE_REF
38+ git checkout $BASE_REF
3839 ./cargo_util.py --make_golden_outputs
39- git checkout $HEAD_BRANCH
40- ./cargo_util.py --test_outputs --ignore_new_outputs --changed_outputs $CHANGED_OUTPUTS
40+ git checkout $HEAD_REF
41+ ./cargo_util.py --test_outputs --ignore_new_outputs --changed_outputs= $CHANGED_OUTPUTS
4142 fi
4243 - name : Upload golden outputs
4344 if : ${{ always() }}
Original file line number Diff line number Diff line change @@ -101,6 +101,7 @@ fn example(c: Common)
101101
102102 let mut fg = Figure :: new ( ) ;
103103
104+ // Small change.
104105 fg. axes2d ( )
105106 . set_pos_grid ( 2 , 2 , 0 )
106107 . lines (
@@ -119,7 +120,7 @@ fn example(c: Common)
119120 Caption ( "Points" ) ,
120121 PointSymbol ( 'D' ) ,
121122 Color ( "#ffaa77" . into ( ) ) ,
122- PointSize ( 2 .0) ,
123+ PointSize ( 5 .0) ,
123124 ] ,
124125 )
125126 . set_title ( "Plot2" , & [ ] ) ;
You can’t perform that action at this time.
0 commit comments