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:
30
30
31
31
if [ -n "${{ github.base_ref }}" ]; then
32
32
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"
35
36
36
- git fetch origin $BASE_BRANCH
37
- git checkout $BASE_BRANCH
37
+ git fetch origin $BASE_REF
38
+ git checkout $BASE_REF
38
39
./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
41
42
fi
42
43
- name : Upload golden outputs
43
44
if : ${{ always() }}
Original file line number Diff line number Diff line change @@ -101,6 +101,7 @@ fn example(c: Common)
101
101
102
102
let mut fg = Figure :: new ( ) ;
103
103
104
+ // Small change.
104
105
fg. axes2d ( )
105
106
. set_pos_grid ( 2 , 2 , 0 )
106
107
. lines (
@@ -119,7 +120,7 @@ fn example(c: Common)
119
120
Caption ( "Points" ) ,
120
121
PointSymbol ( 'D' ) ,
121
122
Color ( "#ffaa77" . into ( ) ) ,
122
- PointSize ( 2 .0) ,
123
+ PointSize ( 5 .0) ,
123
124
] ,
124
125
)
125
126
. set_title ( "Plot2" , & [ ] ) ;
You can’t perform that action at this time.
0 commit comments