File tree Expand file tree Collapse file tree 2 files changed +11
-3
lines changed
Expand file tree Collapse file tree 2 files changed +11
-3
lines changed Original file line number Diff line number Diff line change @@ -12,12 +12,19 @@ jobs:
1212
1313 steps :
1414 - uses : actions/checkout@v2
15+
1516 - name : Use Node.js 16
1617 uses : actions/setup-node@v2
1718 with :
1819 node-version : 16.x
1920
20- - name : Install dependencies
21+ - name : Install BackstopJS dependencies if testing locally
22+ if : ${{ env.ACT }}
23+ run : |
24+ sudo apt update
25+ sudo apt install libnss3-dev libgdk-pixbuf2.0-dev libgtk-3-dev libxss-dev libasound2 -y
26+
27+ - name : Install BackstopJS
2128 # express is already isntalled
2229 run : npm install backstopjs
2330
Original file line number Diff line number Diff line change 3131 "label" : " scene with axes" ,
3232 "url" : " http://localhost:8080/examples/test/axes.html" ,
3333 "delay" : 1000 ,
34- "misMatchThreshold" : 0.5
34+ "misMatchThreshold" : 0.6
3535 },
3636 {
3737 "label" : " wrong protocol version" ,
3838 "url" : " http://localhost:8080/examples/test/wrong_protocol_version.html" ,
3939 "delay" : 1000 ,
40- "misMatchThreshold" : 3
40+ "requireSameDimensions" : false ,
41+ "misMatchThreshold" : 7
4142 },
4243 {
4344 "label" : " Ambient light" ,
You can’t perform that action at this time.
0 commit comments